3 ms·
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 p
by speedgoose 6y 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?
- minimaxir 6y agoThere'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.
- renewiltord 6y agoApigee 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.
- jacques_chester 6y agoSince 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 https://cloud.google.com/run/quotas