Which deployment shape best meets a strict P99 TPOT SLA on bursty traffic?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Strict P99 TPOT needs reserved capacity, disaggregated prefill and decode, modest batch caps, and tail-based autoscaling. The other options optimize throughput, cost, or determinism but break latency.
Imagine a kitchen with two jobs: chop big piles of vegetables (slow, occasional) and plate small orders (fast, constant). If the same chef does both at the same station, the moment a big chop job lands, every plating gets delayed and customers wait. Splitting the kitchen into a chopping bench and a plating line, keeping extra hands on standby for rushes, and never letting any one station get too crowded keeps each order coming out on time. That is what strict latency serving looks like for an LLM. The chopping is prefill, the plating is decode, and the rushes are bursty traffic. The right architecture separates them and reserves headroom.
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.
5 min: identify the four design pressures of a strict P99 SLA, walk through prefill-decode disaggregation as the dominant fix, explain batch caps relative to the bandwidth to compute crossover, and close with autoscaling signal choice.
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.
Picking throughput-maximizing batch sizes for a latency-bound SLA. High batch trades P99 TPOT for tokens per dollar and breaks the SLA exactly when traffic spikes.
The night-before-the-interview bullets. Scan these on the way to the call.