Hacker News new | ask | show | jobs
by z023bs 2355 days ago
this is misleading, as cost curves are usually exponential for these types of managed services
2 comments

How so?

I don't understand what would make it exponential as opposed to merely linear with traffic.

There's nothing in their pricing documentation to suggest this.

It's not. But the cost difference between servers and serverless is maybe exponential. As traffic gets really high, serverless is going to be extremely expensive compared to a dedicated box.
Definitely something I look out for, but the advantage over something like Cloud Functions, which would be an alternative, is that a Cloud Run service handles multiple requests per instance so it isn't 1:1 with request rate.
Cloud Functions isn't 1:1 IIRC, once a Function is booted it keeps serving more requests once warm.
No, the concurrency of GCF is always 1. If the latency of your code handling request is 1s, to handle 100 requests per second you'll need to have 100 instances running.
You're right, thanks for letting me know

Link for reference: https://cloud.google.com/functions/docs/max-instances