Re:Deploy your side-projects at scale for basically nothing ...
by tomlong on Sunday January 12, 2020 @01:14PM
(#22027924)
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?
[ Parent
| on HN ]
Re:Deploy your side-projects at scale for basically nothing ...
by WrtCdEvrydy on Sunday January 12, 2020 @01:15PM
(#22027933)
AWS'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.
Re:Deploy your side-projects at scale for basically nothing ...
by tomlong on Sunday January 12, 2020 @01:20PM
(#22027965)
Thanks, that's impressive.
Re:Deploy your side-projects at scale for basically nothing ...
by minimaxir on Sunday January 12, 2020 @01:27PM
(#22028028)
It 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.
Re:Deploy your side-projects at scale for basically nothing ...
by alex-olivier on Sunday January 12, 2020 @01:17PM
(#22027947)
Don't have an exact time, but the bulk of the time is app startup vs container scheduling