Hacker News new | ask | show | jobs
by CharlieDigital 609 days ago
It "scales to zero" as soon as the request stops as far as billing is concerned.

However, the image remains "warm" and incurs zero cost once the last request ends. So I usually have a `/heartbeat` endpoint for this purpose and point a Cloud Scheduler job at it.

I haven't read the docs to figure out the exact heuristics of when it becomes "cold" again.