News for hackers. Stuff that matters.
Re:Serverless Horrors by jmathai on Wednesday February 28, 2024 @10:01AM (#39538795)
Lambda and GCP Cloud Functions do have cost controls. You can specify the maximum number of instances that can be spun up at any given point.

I think the UX can make it more friendly to specify the types of traffic and cost you’re expecting but most erroneous spikes are the result of a customer misconfiguration or a legitimate spike in traffic.

It’s the former which are problematic for customers. They can request a credit and we (GCP) try and accommodate.

It’s not a feature designed for profit. But it also tends to fall below the cut line for prioritization to fix. But it’s in the backlog and doesn’t go unnoticed.

(Former PM on GCP Cloud Functions)

Re:Serverless Horrors by sroussey on Wednesday February 28, 2024 @12:23PM (#39540997)
Do users setup cost controls before activating the service? Or is this something they need to know how to do and do on their own?
Re:Serverless Horrors by jmathai on Wednesday February 28, 2024 @01:08PM (#39541624)
Separate from billing, the product-native cost controls which prevent over-consumption is configured at the resource level.

gcloud run deploy ..... --max-instances=N