Cold Start
PronunciationKOHLD START
Definition
A delay that occurs when a serverless function or container handles its first request after being idle, because the platform needs to provision resources and load the code.
Where you hear it
In performance reviews, serverless architecture discussions, and when optimizing API latency.
Examples
The first API request took three seconds because of a cold start.
We use provisioned concurrency to eliminate cold starts for critical endpoints.
The first request after the night was slow because of a cold start.
Common mistake
Assuming every request suffers the same delay, when actually subsequent requests run much faster because the container is already warm.
Don't confuse with
Cold start refers to the initialization delay of an idle serverless function, whereas a spin-up is the general process of launching any new container or instance.
Say it at work
- In a meeting or chat
Did you notice any cold start issues after we deployed the new serverless functions?
- In an email or ticket
We are keeping a few instances warm to mitigate the cold start penalty on our main endpoints.
Keep exploring
More in DevOps & Cloud