4 ms·
Excuse my ignorance. if a container hasn't been hit in a long time, how long does it take to serve the first request back? Is it spun up or sort of hot paused?
by tomlong 7y ago
Excuse my ignorance. if a container hasn't been hit in a long time, how long does it take to serve the first request back? Is it spun up or sort of hot paused?
- WrtCdEvrydy 7y agoAWS's firecracker can start a VM for your code in under 15ms, but if you need database access and other stuff, you can 'pre-warm' it.
- tomlong 7y agoThanks, that's impressive.
- alex-olivier 7y agoDon't have an exact time, but the bulk of the time is app startup vs container scheduling
- minimaxir 7y agoIt depends on the size of the container, but it can be a few seconds for a cold boot if small, then instantly for requests soon after that. Unfortunately Cloud Run obfuscates when a cold boot is necessary.