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.
[ Parent
| on HN ]
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