Zenaique

Which deployment shape best meets a strict P99 TPOT SLA on bursty traffic?

MCQ·Medium·4.0 · 0·~1 min·Asked atCapgeminiMicrosoftSharechat·Relevant atDatabricks
Attempt it
TL;DR

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.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

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.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

A strict P99 TPOT SLA on bursty traffic is one of the hardest production constraints in LLM serving. It rules out most of the cost-optimal designs (high batch, on-demand capacity, mean-based scaling) because those choices buy throughput at the price of tail variance.

The right answer requires four architectural commitments: reserved capacity to eliminate infrastructure variance, prefill-decode disaggregation to eliminate cross-phase blocking, modest batch caps to keep per-stream TPOT predictable, and tail-based autoscaling to absorb bursts before the SLA breaks. Each lever targets a different source of tail variance.

This deep dive covers each lever in turn, explains why the other MCQ options break the SLA in specific ways, and closes with the operational realities of running disaggregated serving in production. By the end you should be able to design a latency-tight serving stack and defend each choice against the cost-optimal alternative.

Why P99 TPOT is the hardest serving SLA

TPOT (time per output token) is the steady-state per-token latency once decode is in progress. P99 TPOT is the value that 99% of decoded tokens fall under. A strict P99 SLA (say, 50 ms) forces every architectural choice toward variance reduction, often at the cost of throughput per dollar.

The SLA differs from TTFT (time to first token) in important ways. TTFT is dominated by prefill cost and queue wait; TPOT is dominated by decode step time and any interruptions to the steady decode rhythm. A serving stack can have great TTFT and terrible P99 TPOT if a long prefill blocks ongoing decodes every few minutes.

Bursty traffic compounds the difficulty. Steady-state TPOT can be tight if the batch size is stable and prefill traffic is uniform. Bursts introduce two stressors: spikes in queue depth (TTFT impact) and spikes in prefill arrival rate (TPOT impact on co-located stacks). The hardest SLAs combine strict P99 with bursty traffic, which is exactly the scenario in the question.

Reserved capacity: eliminating infrastructure variance
Prefill-decode disaggregation: the dominant lever
Batch caps and the bandwidth to compute crossover
Tail-based autoscaling and the burst absorption problem
Why A, C, and D each break the SLA
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • NVIDIA Dynamo (formerly Triton Inference Server v2) implements prefill-decode disaggregation as a first-class feature for latency-sensitive deployments.
  • Anthropic's Claude Opus 4.7 production serving disaggregates prefill onto dedicated H100 clusters and streams KV cache over NVLink to decode replicas.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QHow does disaggregation handle the KV cache transfer between prefill and decode replicas?
A

Prefill emits the full KV cache for the prompt; decode needs that cache to start generating. The transfer is over NVLink (for intra-node) or InfiniBand (for inter-node). Cache size scales with prompt length and model size, often 100s of MB to GBs. Latency of transfer must be smaller than the TTFT budget. NVIDIA Dynamo and similar stacks use streaming transfers that overlap with the first decode steps.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

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.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Identify the four design pressures of a strict P99 TPOT SLA

  • Explain why prefill blocks decode in co-located serving

Sign in to unlock the revision sheet.
Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
What is the KV cache in transformer inference?
Flashcard·Easy