Which components dominate cold-start latency when a serving replica spins up?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Real cold-start cost is pod scheduling plus image pull, weight download to disk, weight load to HBM, and a warm-up forward pass. Recompiling from source or retraining the tokenizer are made-up distractors.
Imagine opening a new branch of a restaurant first thing in the morning. The building has to be ready, the supplies have to be trucked in, the chef has to unpack everything into the kitchen, and the chef has to cook one practice meal before the doors open. Each of those is a real step that takes real time. What does not happen is the chef inventing the recipes from scratch on opening morning, or training the suppliers to grow the vegetables. The recipes and the suppliers are already settled. For an LLM replica, the building is the pod, the supplies are the model's learned numbers, and the practice meal is one warm-up run before customers arrive. Spotting the distractors is just spotting the steps that belong to building the restaurant chain, not to opening today's branch.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: four phases of cold start + which one dominates for large models + warm-up cost + why the distractors fail + mitigation playbook + autoscaling implications.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating cold start as one number. It is four phases with very different magnitudes, and the dominant one is almost always weight download to local disk, not CUDA graph capture.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.