Hacker News new | ask | show | jobs
by speedgoose 2022 days ago
Just curious but not enough to read the documentation, is there a max setting or can I easily bankrupt my competitors with Apache bench running on a raspberry pi?
2 comments

There's both a max number of containers setting and a max concurrency limit per container setting.

FWIW, I do wish Google added some way to more explicitly prevent abuse with the containers. I had to take down my Cloud Run containers because people found ways to automate access to my services without rate limits, and Google's solution to that was to use a proxy which sorta defeats the point of using Cloud Run.

Apigee is just such a heavy-weight thing. It feels like API Gateway plus Lambda w/ Containers will provide what you want, though, serverless and easy to set up. You can rate-limit per "usage plan" etc.
Since each instance can handle multiple requests, it might be hard to bankrupt someone with a low-powered box.

There's also a standard quota limit for replicas: 1,000 per Service.

https://cloud.google.com/run/quotas