3 ms·
this is misleading, as cost curves are usually exponential for these types of managed services
by z023bs 7y ago
this is misleading, as cost curves are usually exponential for these types of managed services
- alex-olivier 7y agoDefinitely 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.
- CraftThatBlock 7y agoCloud Functions isn't 1:1 IIRC, once a Function is booted it keeps serving more requests once warm.
- yegle 7y agoNo, 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.
- CraftThatBlock 7y agoYou're right, thanks for letting me know Link for reference: https://cloud.google.com/functions/docs/max-instances https://cloud.google.com/functions/docs/max-instances
- crazygringo 7y agoHow 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.
- jjeaff 7y agoIt'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.