Better HN
topnewbestaskshowjobs
Log inSign up

nullpointerexp

2 karma · joined Jun 4, 2025 (1y ago) · 1 submissions

Submissions

comment 1y ago · link · parent

When scaling from 0 to 1 instances, yes, you have to wait 19 seconds.

For scaling N --> N+1 - If you configure the correct concurrency value (the number of parallel requests one instance can handle), Cloud Run will scale up to additional instances when getting to X% (I think it's 70%). That will be before the instance is fully exhausted. So your users should not experience the 19 seconds cold start.