News for hackers. Stuff that matters.
Re:Ask HN: How do serverless/cloud functions work underneath? by j4hdufd8 on Saturday January 29, 2022 @05:44AM (#30125345)
I speculate it's just containers, repurposed solely for the purposes of serving HTTP APIs.

When you "deploy" a cloud function I think it means it rebuilds the container image and replaces the running instance of the container.

I imagine that e.g. the usual 60s "timeout" of a cloud function just means they kill the container after 60s?

And maybe e.g. Firestore triggers means that Firestore maintains event handlers that spawn a container (your "trigger") to run the code you want for that event?

Re:Ask HN: How do serverless/cloud functions work underneath? by techn00 on Saturday January 29, 2022 @07:36AM (#30125788)
You can also check out how https://www.openfaas.com/ works.
Re:Ask HN: How do serverless/cloud functions work underneath? by fggdd on Friday January 28, 2022 @06:30PM (#30121954)
Is Google broken for you?
Re:Ask HN: How do serverless/cloud functions work underneath? by quantumOctopus on Friday January 28, 2022 @06:35PM (#30122007)
Where I'm from, yes. Thanks for making privileged assumptions.