News for hackers. Stuff that matters.
Re:Deploy your side-projects at scale for basically nothing ... by z023bs on Sunday January 12, 2020 @01:09PM (#22027876)
this is misleading, as cost curves are usually exponential for these types of managed services
Re:Deploy your side-projects at scale for basically nothing ... by crazygringo on Sunday January 12, 2020 @01:22PM (#22027975)
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.

Re:Deploy your side-projects at scale for basically nothing ... by jjeaff on Sunday January 12, 2020 @02:41PM (#22028675)
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.
Re:Deploy your side-projects at scale for basically nothing ... by alex-olivier on Sunday January 12, 2020 @01:15PM (#22027931)
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.
Re:Deploy your side-projects at scale for basically nothing ... by CraftThatBlock on Sunday January 12, 2020 @01:34PM (#22028092)
Cloud Functions isn't 1:1 IIRC, once a Function is booted it keeps serving more requests once warm.
Re:Deploy your side-projects at scale for basically nothing ... by yegle on Sunday January 12, 2020 @07:28PM (#22030844)
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.
Re:Deploy your side-projects at scale for basically nothing ... by CraftThatBlock on Sunday January 12, 2020 @07:33PM (#22030864)
You're right, thanks for letting me know

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