IT lexicon › Infra & Ops › Cold start

Cold start

Infra & Ops På svenska → Updated: 2026-11-14

Latency when a process starts for the first time after being idle — often orders of magnitude higher than steady-state.

A serverless function unused for 15 minutes must start from scratch: VM initializes, runtime loads, global state runs. It can take 100 ms to several seconds before your code even begins executing. Compare that to an already-warm instance where just the function needs to be invoked (maybe 10 ms)—cold start is a dramatic penalty. Microservices with horizontal scaling face the same: newly started containers are slow for 10–30 seconds while caches populate.

Cold start isn't just a performance issue—it can violate timeout assumptions. A load balancer might shed instances during low traffic; the next traffic spike hits a fleet of cold starters. Solutions: keep-alive (pay to keep instances warm), smaller images, JIT warmup, or baking cold starts into your SLA.

← Back to the lexicon