Google Cloud Engineer interview question

Cloud Run latency spikes on the first requests after quiet periods. What's happening, and how do you fix it?

Scenario Asked in Cloud Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

These are cold starts: with no warm instances, Cloud Run starts a new container and the first requests wait for image pull, process start and application initialisation. Fix with minimum instances for latency-sensitive services, faster start-up (smaller images, lazy loading, startup CPU boost) and appropriate concurrency.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Google Cloud Engineer questions

← All Google Cloud Engineer questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake