Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Click any words you think contain an error. Click again to unmark.
CPU utilisation barely moves on an LLM serving pod because the work is on the GPU; autoscale on queue depth, batch fullness, GPU SM-util, or KV-block occupancy instead.
Picture a restaurant where the kitchen does all the cooking but the autoscaler watches how busy the maitre d' is. The maitre d' just greets people and writes orders; he is never overwhelmed even when the kitchen is on fire and tickets are piling up behind the line. By the time the maitre d' looks busy, the kitchen has been buried for an hour. LLM serving works the same way. The CPU is the maitre d', taking requests and writing tickets. The GPU is the kitchen, doing the actual cooking. The autoscaler should watch what is going on in the kitchen: how long the ticket queue is, how full each pan, how hot the stove. Watching the maitre d' looks reasonable on paper and misses every real problem.
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.
4 min: why CPU does not saturate on a GPU-bound pod + the right signal set (queue, batch, KV, SM-util) + KEDA + DCGM wiring + scale-up vs scale-down asymmetry + cold-start considerations.
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 CPU as a reasonable proxy because the HPA supports it out of the box. The default signal is not the right signal: it never crosses the threshold during real overload, so the autoscaler reacts after the SLO has already broken.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.