LearnTopic guide

LLM serving: latency, throughput and operations

Serving is where model quality meets cost and user experience: the same weights can feel instant or unusable depending on batching, memory management, parallelism and overload handling. Interviewers expect you to define TTFT, inter-token latency, throughput and goodput precisely, explain why prefill is compute-bound and decode memory-bandwidth-bound, do capacity arithmetic from a model config and a GPU datasheet, and reason about continuous batching, PagedAttention, chunked prefill, quantisation and speculative decoding as trade-offs rather than free wins. Since 2025 the state of the art has moved to the cluster layer: separate prefill and decode pools, wide expert parallelism for large mixture-of-experts models, KV caches that are routed to and moved between machines, and FP8 or FP4 formats on Blackwell, so senior candidates are expected to discuss these too. Lead and debugging questions add SLOs, autoscaling, p99 regressions, hung requests and the self-host versus API decision.

Applied LLM · ML engineering · AI leadership8 key concepts26 questions

Start: Key concepts 6 lessons · about 20 min
Contents

Key concepts

Latency metrics, SLOs and goodput

TTFT is queueing plus prefill time until the first token streams; inter-token latency (ITL, also called TPOT) is the gap between later tokens; end-to-end ≈ TTFT + (output tokens − 1) × ITL. Throughput is tokens or requests per second across all users; goodput counts only requests that meet their SLO. Chat products set p95 TTFT (for example under 1 s) and ITL faster than reading speed (under about 50 ms); batch document jobs care about cost per million tokens and completion time, not TTFT.

Prefill versus decode

Prefill processes all prompt tokens in parallel, so it is large matrix multiplications and compute-bound; it dominates TTFT and scales with prompt length. Decode produces one token per sequence per step and must read every weight plus that sequence’s KV cache, so at small batch it is memory-bandwidth-bound: a step costs roughly (weight bytes + KV bytes) ÷ HBM bandwidth. The same logic applies on devices: a phone with roughly 50–70 GB/s of memory bandwidth running a 3B model in 4-bit (about 1.7 GB) cannot exceed a few dozen tokens per second.

Flow · 4 stepsRequest path from queue to streamed output

Request path from queue to streamed outputSix boxes flow left to right: prompt and queue on the left, prefill and decode in the middle, a KV cache store below them, and streamed output on the right. Arrows show the prompt entering the queue, prefill writing KV and handing off to decode, decode reading and writing KV, and decode emitting streamed output.Promptprompt tokensQueueadmission controlPrefillcompute-boundDecodememory-bandwidth-boundStreamed outputtokensKV cachefixed-size blocksadmittedwritefirst tokenwritetoken1234InputComputeMemoryOutput
  1. Queue and admit Prompt waits in queue; admission control bounds queue length.
  2. Prefill All prompt tokens processed in parallel; compute-bound; writes KV cache; TTFT.
  3. Decode One token per sequence per step; reads weights and KV; memory-bandwidth-bound; ITL.
  4. Stream Tokens stream out; end-to-end ≈ TTFT + (output tokens − 1) × ITL.

A request waits in queue, runs compute-bound prefill, then decodes one token per step while reading and writing the KV cache, streaming tokens out.Diagram drafted by a local AI model (Inkling 2 Mini) from this page's text and drawn from data. Checked by an independent reviewer.
Data
Steps
StepTitleWhat happens
1Queue and admitPrompt waits in queue; admission control bounds queue length.
2PrefillAll prompt tokens processed in parallel; compute-bound; writes KV cache; TTFT.
3DecodeOne token per sequence per step; reads weights and KV; memory-bandwidth-bound; ITL.
4StreamTokens stream out; end-to-end ≈ TTFT + (output tokens − 1) × ITL.

Source: This page's text

Boxes
BoxGroupDetail
PromptInputprompt tokens
QueueInputadmission control
PrefillComputecompute-bound
DecodeComputememory-bandwidth-bound
KV cacheMemoryfixed-size blocks
Streamed outputOutputtokens

Source: This page's text

Calculator8B decode ceiling on one H100

Bytes per step = 16 + Batch size × Context tokens × 131072 ÷ 1e9

Milliseconds per token = Bytes per step ÷ 3.35

Per-user tokens/s = 1000 ÷ Milliseconds per token

Aggregate tokens/s = Batch size × Per-user tokens/s

Worked cases
CaseBatch sizeContext tokens (tokens)Bytes per stepMilliseconds per tokenPer-user tokens/sAggregate tokens/s
Batch 11016 GB4.78 ms209 tokens/s209 tokens/s
Batch 32, 2k context322,00024.4 GB7.28 ms137 tokens/s4,395 tokens/s
At batch 32 with 2,000-token contexts, per-user speed drops only about 35% while aggregate throughput rises about 21x.Diagram drafted by a local AI model (Inkling 2 Mini) from this page's text and drawn from data. Checked by an independent reviewer.

Sequence · 3 stepsDisaggregated prefill and decode pools

Disaggregated prefill and decode poolsA client sends a request to a router, which forwards the prompt to a prefill pool. The prefill pool computes the prompt and hands the KV cache to a decode pool over NVLink or RDMA. The decode pool then generates tokens and streams them back to the client.ClientRouterPrefill poolDecode pool1requestprompt2KV cache3tokens
Disaggregated prefill and decode poolsA client sends a request to a router, which forwards the prompt to a prefill pool. The prefill pool computes the prompt and hands the KV cache to a decode pool over NVLink or RDMA. The decode pool then generates tokens and streams them back to the client.ClientRouterPrefill poolDecodepool1requestprompt2KV cache3tokens
  1. Route the request The client sends the request to the router, which sends the prompt to the prefill pool.
  2. Prefill and hand off KV The prefill pool processes the prompt and moves the KV cache to the decode pool over NVLink or RDMA.
  3. Decode and stream The decode pool generates tokens and streams them back to the client.

A request is routed to a prefill pool, its KV cache is moved to a decode pool, and tokens stream back from the decode pool.Diagram drafted by a local AI model (Inkling 2 Mini) from this page's text and drawn from data. Checked by an independent reviewer.
Data
Messages
StepFromToMessage
1ClientRouterrequest
1RouterPrefill poolprompt
2Prefill poolDecode poolKV cache
3Decode poolClienttokens (reply)

Source: This page's text

Continuous batching and its side effects

Static batching waits for the longest sequence in a batch, leaving slots idle as shorter ones finish. Continuous (iteration-level) batching admits and retires sequences every decode step, which raises utilisation several-fold. New problems: a long prefill joining the batch stalls everyone’s decode (fixed by chunked prefill, as in Sarathi-Serve), the KV cache can fill up and force preemption or recomputation, and scheduling becomes a fairness and priority question. vLLM V1 (2025) drops the prefill/decode distinction inside its scheduler altogether: each step hands out a token budget across requests, so chunked prefill is simply the default. Disaggregated serving (DistServe) instead puts prefill and decode on separate GPU pools so each can meet its own SLO; since 2025 it ships in production stacks (NVIDIA Dynamo, llm-d, the PD modes of vLLM and SGLang), at the price of moving each request’s KV cache between pools over NVLink or RDMA with libraries such as NIXL or Mooncake.

KV memory management

KV memory, not compute, usually caps concurrency. PagedAttention allocates the cache in fixed-size blocks through a block table, cutting fragmentation waste to almost nothing and enabling block sharing for common prefixes, parallel samples and beams. Prefix caching reuses blocks for shared system prompts and multi-turn history; vLLM V1 enables it by default because its cost at a 0% hit rate is under 1% of throughput. The cache now also outlives one GPU: layers such as LMCache offload blocks to CPU memory, disk or remote stores and share them across engines, and KV-aware routers send a request to the replica that already holds its prefix. Engine knobs such as maximum concurrent sequences, maximum model length and the fraction of GPU memory reserved trade concurrency against context length and preemption risk.

Parallelism choices

Data parallelism runs independent replicas and scales throughput linearly. Tensor parallelism splits each matmul across GPUs with an all-reduce per layer, which cuts per-token latency and pools memory but needs fast NVLink within a node. Pipeline parallelism splits layers across devices or nodes, adds bubbles, and suits models that do not fit on one node. For dense models, pick the smallest TP degree that fits weights plus enough KV, then add replicas. Large mixture-of-experts models such as DeepSeek-V3 are now served with wide expert parallelism: attention runs data-parallel (tensor parallelism would duplicate the compressed MLA KV on every shard), experts are spread over dozens to more than a hundred GPUs with all-to-all dispatch kernels such as DeepEP, two micro-batches overlap compute with communication, and hot experts are replicated for load balance (EPLB). DeepSeek’s own service used expert parallelism of 32 for prefill and 144 for decode.

Speed levers and what they cost

Weight-only INT4 (GPTQ, AWQ) shrinks bytes read per decode step, so it helps memory-bound decode; FP8 weights and activations also speed compute-bound prefill on Hopper and Blackwell, and Blackwell adds native NVFP4 (4-bit values with an FP8 scale per 16 elements, about 4.5 bits each); KV quantisation raises concurrency. Each needs an evaluation on your tasks, not just perplexity. Speculative decoding keeps the output distribution exact; learned draft heads (EAGLE-3) and a model’s own multi-token-prediction module (DeepSeek-V3 reports 85–90% acceptance of the second token and about 1.8× tokens per second) are common alternatives to a separate draft model. It helps most at low batch with a high acceptance rate, but adds little or even slows things down when the GPU is already saturated by large batches.

Overload, rate limits and autoscaling

Without admission control, queues grow until every request misses its SLO. Bound queue length, shed or downgrade low-priority traffic, enforce per-tenant RPM and TPM limits, and return 429 with Retry-After rather than timing out silently. Autoscale on queue depth, KV-cache utilisation or TTFT, not CPU, and remember that loading a large model can take minutes, so keep warm headroom and pre-download weights.

Observability and debugging

Track TTFT and ITL percentiles split into queue time and compute time, running and waiting request counts, KV-cache usage, preemptions, prefix-cache hit rate, prompt and output length distributions, and error codes per model version. A p99 jump with no deploy usually means a traffic-mix change (longer prompts, a new tenant), cache-hit collapse, preemption storms or a degraded node. Requests stuck at zero throughput while others finish point to an engine-level stall or deadlock; health checks should therefore generate tokens, not just return HTTP 200, and every request needs a deadline.

Next: Worked examples Lesson 3 of 6 · about 5 min

Worked examples

Decode throughput of an 8B model on one H100

Llama-3-8B has about 8.0B parameters, 32 layers, 8 KV heads and head dimension 128, served in bf16 on an H100 (3.35 TB/s HBM, about 989 TFLOP/s dense bf16). Estimate the ceiling on decode speed at batch 1, and at batch 32 with an average context of 2,000 tokens. Is decode compute-bound?

1. Bytes per decode step.

  • Weights: 8.0e9 × 2 bytes = 16 GB, read once per step whatever the batch size.
  • KV per token: 2 (K and V) × 32 layers × 8 heads × 128 dims × 2 bytes = 131,072 B = 128 KiB.

2. Batch 1. 16 GB ÷ 3.35 TB/s = 4.8 ms per token, so at most about 210 tokens/s. Real engines reach perhaps 70% of peak bandwidth, giving about 145 tokens/s.

3. Batch 32, 2,000-token contexts. KV read per step = 32 × 2,000 × 131,072 B = 8.4 GB. Bytes per step = 16 + 8.4 = 24.4 GB, so 24.4 / 3.35 TB/s = 7.3 ms.

  • Per user: 1 / 7.3 ms ≈ 137 tokens/s (ceiling).
  • Aggregate: 32 / 7.3 ms ≈ 4,400 tokens/s. Batching multiplies throughput about 21× while per-user speed drops only about 35%.

4. Compute check. About 2 FLOPs per parameter per token: 2 × 8e9 × 32 = 5.1e11 FLOPs per step, which takes 0.52 ms at 989 TFLOP/s, about 14× less than the 7.3 ms memory time. Decode is firmly memory-bound.

5. When would it become compute-bound? For the weight matmuls, arithmetic intensity is roughly the batch size in FLOPs per byte, and the H100’s ridge point is 989e12 / 3.35e12 ≈ 295. So only around 300 concurrent sequences would make weights compute-bound, and KV reads grow with batch × context, which keeps long-context decode memory-bound anyway. Hence the value of GQA, KV quantisation and weight quantisation.

Will a 70B model serve 32 users at 32k context on 2 × 80 GB GPUs?

Llama-3-70B: about 70B parameters, 80 layers, 8 KV heads, head dimension 128. Two 80 GB GPUs with tensor parallelism. Can it hold 32 concurrent users at a full 32k-token context? If not, what are the options?

1. Weights. bf16: 70e9 × 2 B ≈ 140 GB. FP8: ≈ 70 GB.

2. KV per token (bf16). 2 × 80 × 8 × 128 × 2 B = 327,680 B = 320 KiB. FP8 KV halves it to 160 KiB.

3. Demand. 32 users × 32,768 tokens = 1,048,576 tokens. bf16: 1,048,576 × 320 KiB = 320 GiB ≈ 344 GB. FP8: ≈ 172 GB.

4. Supply on 2 × 80 GB = 160 GB.

  • bf16 weights leave about 20 GB; after about 6–8 GB for activations, CUDA graphs and fragmentation, roughly 12 GB of KV ≈ 37k tokens, about one user at full context. No.
  • FP8 weights and FP8 KV: 160 − 70 − 8 ≈ 82 GB of KV ÷ 160 KiB ≈ 500k tokens, about 15 users at full 32k. Still no.

5. Options.

  • 4 × 80 GB with FP8 weights and KV: 320 − 70 − 16 ≈ 234 GB → about 1.43M tokens → about 43 users.
  • 8 × 80 GB in bf16: 640 − 140 − 32 ≈ 468 GB → about 1.43M tokens → about 43 users.
  • Question the requirement: if the median context is 8k, the FP8 two-GPU set-up holds about 500k / 8k ≈ 60 average users, with admission control for the rare full-length request.

6. Parallelism notes. TP = 2 or 4 inside one NVLink node keeps the per-layer all-reduces cheap; for more throughput, add data-parallel replicas rather than raising TP further.

Size a GPU fleet for a chat product with Little's law

Peak load is 50 requests/s, averaging 1,000 prompt tokens and 300 output tokens. SLOs: p95 TTFT under 1 s and p95 ITL under 50 ms. A load test (an assumption for this exercise) shows one H100 serving the 8B model sustains 100 concurrent sequences at about 40 ms ITL and about 2,500 output tokens/s. How many GPUs do you need?

1. Time each request spends in the system. W ≈ TTFT + 300 × ITL ≈ 0.5 s + 300 × 0.04 s = 12.5 s.

2. Little’s law. Concurrent sequences L = λ × W = 50 × 12.5 = 625.

3. Replicas for concurrency. 625 / 100 = 6.25, so 7 replicas at 100% utilisation. Targeting 70% at peak to absorb bursts gives 625 / (100 × 0.7) ≈ 9 replicas.

4. Check decode throughput. Fleet output = 50 × 300 = 15,000 tokens/s, about 1,670 tokens/s per replica, under the 2,500 measured. ✓

5. Check prefill compute. 50 × 1,000 = 50,000 prompt tokens/s × 2 × 8e9 FLOPs = 8e14 FLOP/s. One H100 at 40% utilisation gives about 4e14, so prefill needs about 2 GPUs’ worth of compute, around 22% of a 9-GPU fleet. Chunked prefill spreads it so TTFT and ITL both hold. ✓

6. Production adjustments. Add N+1 for node failure, a second zone for resilience, and alert on queue time before TTFT breaches. Re-run the test whenever the prompt-length distribution changes, because doubling prompts doubles the prefill load.

Next: What changed Lesson 4 of 6 · about 3 min

What changed recently

  1. DeepSeek open-sources DeepInfer and vLLM matches it at rack scale

    DeepSeek released DeepInfer, its own inference engine for DeepSeek-V4.1-Flash, as an offline, single-model engine with published prefill and decode curves. The same week the vLLM team, noting that DeepInfer was originally built on vLLM, reported decode throughput on GB200 within 6% of DeepInfer’s published results across batch sizes 8 to 256, and served the model online on one GB300 NVL72 rack with P/D disaggregation and wide expert parallelism at a P90 of 196 tokens/s per user. The lesson interviewers draw out: matching a single engine’s kernels is now achievable quickly, and the harder production work is routing, KV movement and load balance across the cluster.

    Source

  2. NVIDIA Dynamo 1.0 goes to production

    Dynamo, open-sourced in March 2025 as an orchestration layer above vLLM, SGLang and TensorRT-LLM, reached a production 1.0 release in March 2026 with KV-aware routing, offload of KV blocks to cheaper memory and storage (KVBM), the NIXL GPU-to-GPU transfer library and Kubernetes scaling (Grove), and adoption by the major clouds. With llm-d (launched by Red Hat with Google Cloud, IBM Research, NVIDIA and CoreWeave in May 2025) it marks disaggregated, cache-aware serving becoming standard infrastructure, so designs are now expected to say how requests find the replica holding their prefix and how KV moves between pools.

    Source

  3. NVFP4: 4-bit floating point on Blackwell

    NVIDIA detailed NVFP4, a Blackwell tensor-core format that stores E2M1 4-bit values with an FP8 (E4M3) scale per 16-value block plus an FP32 scale per tensor, about 4.5 bits per value. Its smaller blocks and fractional scales cut quantisation error relative to MXFP4 (32-value blocks with power-of-two scales); NVIDIA reports 1% or less accuracy loss against FP8 on DeepSeek-R1-0528 and about 1.8× less weight memory than FP8. Interviewers ask what 4-bit buys for prefill versus decode, what the scales cost, and why you still evaluate on your own tasks.

    Source

  4. Open-source wide expert parallelism with disaggregated prefill and decode

    The SGLang team reproduced DeepSeek’s published serving design on 96 H100s: separate prefill and decode clusters, data-parallel attention, cross-node expert parallelism with DeepEP kernels (a throughput mode for prefill, a CUDA-graph-friendly low-latency mode for decode), two-batch overlap and the EPLB expert load balancer. It reached 52.3k input and 22.3k output tokens/s per node on 2,000-token inputs, an estimated $0.20 per million output tokens. It is the standard reference when interviewers ask why MoE serving needs very large effective batches and how hot experts are balanced.

    Source

  5. EAGLE-3 makes learned draft heads scale with data

    EAGLE-3 drops EAGLE’s feature-prediction objective, predicts tokens directly from a fusion of low-, mid- and high-level target-model features, and simulates multi-step drafting during training (‘training-time test’), so the drafter keeps improving with more data. It reports up to 6.5× speed-up (about 1.4× over EAGLE-2) and 1.38× throughput at batch 64 in SGLang. Expect questions on acceptance rates, why gains shrink at large batch, and how draft heads compare with native multi-token prediction.

    Source

Next: Pitfalls and interview angles Lesson 5 of 6 · about 2 min

Pitfalls

  • Quoting tokens per second without saying whether it is per user or aggregate, or at what batch size and context length.
  • Calling decode compute-bound, or assuming more FLOPs (a faster GPU tier) fixes slow decode when bandwidth is the limit.
  • Sizing KV cache from parameter count instead of layers × KV heads × head dimension, or forgetting it scales with concurrency × context.
  • Treating quantisation, speculative decoding or disaggregation as free: the first two need task-level evaluation, speculation can slow saturated servers, and splitting prefill from decode adds KV-transfer cost and operational complexity that a small deployment may never recoup.
  • Autoscaling on CPU or GPU utilisation instead of queue depth, KV usage or TTFT, and ignoring minutes-long model load times.
  • Health checks that return 200 while the engine is wedged, and requests with no deadline.

How interviewers probe it

  • Define TTFT, ITL, end-to-end latency and throughput; how do SLOs differ between a chat product and a batch document job?
  • Why does static batching waste GPU capacity, how does continuous batching fix it, what new problems appear, and when would you move prefill and decode onto separate pools?
  • Capacity question: will model X serve N users at context C on these GPUs? Expect to explain TP, PP and DP along the way, and for a large MoE such as DeepSeek-V3, why wide expert parallelism with data-parallel attention beats tensor parallelism.
  • Debugging: p99 jumped from 4 s to 20 s overnight with no deploy, or requests hang at zero throughput under concurrency.
  • When would you self-host an open-weight model instead of using an API, for a UK bank or healthtech?
  • Lead variant: here is a serving architecture; what breaks under load and what would you change first?
Next: Quiz Lesson 6 of 6 · about 3 min

Quiz

Three questions from this guide. Answer each in your head or out loud, show the model answer, then rate yourself. The cards join your practice deck and come back when they are due.

  1. Question 1 of 3 · Applied LLM · Technical · Easy

    Define TTFT, inter-token latency, end-to-end latency and throughput. How would SLOs differ for a chat product and for a batch document-processing job?

  2. Question 2 of 3 · Applied LLM · Technical · Medium

    Why does static batching waste GPU capacity for LLMs, how does continuous batching fix it, and what new problems appear?

  3. Question 3 of 3 · Applied LLM · Technical · Hard

    What problem does PagedAttention solve, and how does it enable prefix sharing?

Reading

Practise this topic

  1. Define TTFT, inter-token latency, end-to-end latency and throughput. How would SLOs differ for a chat product and for a batch document-processing job?Applied LLM · Technical · Easy
  2. Why does static batching waste GPU capacity for LLMs, how does continuous batching fix it, and what new problems appear?Applied LLM · Technical · Medium
  3. What problem does PagedAttention solve, and how does it enable prefix sharing?Applied LLM · Technical · Hard
  4. Describe the prefill and decode phases of inference. Which is compute-bound and which is memory-bandwidth-bound, and how does that show up in time-to-first-token and inter-token latency?Applied LLM · Technical · Medium
  5. Will a 70B dense model serve 32 concurrent users at 32k context on two 80 GB GPUs? Explain tensor, pipeline and data parallelism along the way.Applied LLM · Technical · Hard
  6. When would you self-host an open-weight model instead of using a hosted API? Walk through the decision for a UK healthtech or bank.Applied LLM · Technical · Medium
  7. p99 latency of your LLM endpoint jumped from 4 s to 20 s overnight with no deploy. Debug it.Applied LLM · Technical · Medium
  8. Your self-hosted model server is fine for single requests, but under concurrent load some requests hang at zero throughput while others finish. How do you investigate?Applied LLM · Technical · Hard
  9. Take a typical LLM serving stack: an API gateway, a request queue, a pool of GPU inference servers running continuous batching, and a single region behind a load balancer. What breaks under load, and what would you change first?AI leadership · System design · Very hard
  10. Payment authorisation gives your model a 50 ms p99 budget including feature fetches. How do you design for it?ML engineering · Technical · Medium
  11. Compare multi-head, multi-query and grouped-query attention, and latent attention if you know it. Why did most recent open-weight models adopt GQA, and what does it change when you serve the model?Applied LLM · Technical · Medium
  12. What is stored in the KV cache and why does it exist? Estimate the cache memory for a model with 32 layers, 8 KV heads and head dimension 128, in bf16, serving 16 concurrent requests at 8k tokens each.Applied LLM · Technical · Medium
  13. What is a mixture-of-experts transformer, and what changes for training and serving compared with a dense model of similar quality?Applied LLM · Technical · Hard
  14. Explain LoRA: what is trained, how rank and alpha matter, where adapters go, and how QLoRA cuts memory further. How would you serve 50 customer-specific adapters?Applied LLM · Technical · Medium
  15. Compare weight-only INT4 (GPTQ/AWQ), FP8 weights-and-activations and KV-cache quantisation. How would you decide a quantised model is acceptable for production?Applied LLM · Technical · Medium
  16. How does speculative decoding speed up generation without changing the output distribution, and when does it not help?Applied LLM · Technical · Hard
  17. Design, and partly code, a single-GPU inference service that batches incoming requests up to a maximum batch size while each caller waits synchronously for its own result. How do you trade latency against throughput?Applied LLM · Technical · Hard
  18. When would you serve predictions in batch vs online? What hybrid patterns exist?ML engineering · Technical · Easy
  19. Your product serves a 70B model in FP8 on Hopper GPUs. Leadership asks whether moving to Blackwell with NVFP4 weights will halve the serving cost. Explain what NVFP4 is and how you would answer.Applied LLM · Technical · Medium
  20. Explain how EAGLE-3 differs from classic draft-model speculative decoding and from reusing a model’s own multi-token-prediction module, as DeepSeek-V3 does. When would you switch speculation off in production?Applied LLM · Technical · Medium
  21. After DeepSeek-R1 (MIT licence, January 2025) and OpenAI’s gpt-oss (Apache 2.0, August 2025), your CFO asks why you still pay a frontier API for an internal assistant handling 2 billion tokens a day. The 2026 AI Index says the best closed model leads the best open one by only about 3%. Make the recommendation.AI leadership · Case study · Hard
  22. As head of an AI platform team, you learn that in February 2026 every Gemini model on Vertex AI failed together because of a shared safety-filtering service, and that late-2025 AWS us-east-1 and Cloudflare outages took out many dependent products. Your assistant currently fails over between two models from the same provider. How do you assess and reduce this concentration risk, and how do you justify the cost?AI leadership · Case study · Medium
  23. You are moving about 3,000 concurrent coding agents from a managed API to a self-hosted open model served with vLLM on Kubernetes. Why does a standard Kubernetes Service balance this traffic badly, and what would your routing, scheduling and model-upgrade design look like?ML engineering · System design · Hard
  24. You must serve a DeepSeek-style mixture-of-experts model (hundreds of billions of parameters, 256 routed experts, MLA attention) for an agentic coding product. Explain why the large public deployments since 2025 use disaggregated prefill and decode with wide expert parallelism and data-parallel attention rather than tensor parallelism, and what new failure modes this design introduces.ML engineering · System design · Hard
  25. Anthropic’s September 2025 postmortem described routing, configuration and compiler bugs that degraded answer quality for weeks without raising error rates. Design the monitoring that would catch a model that is up but subtly wrong in your own serving stack.ML engineering · Technical · Hard
  26. Qwen3.5-397B-A17B activates 10 of 512 routed experts plus one shared expert per token. Compared with Mixtral-style 2-of-8 routing, what do fine-grained and shared experts buy you, what do they cost in training and serving, and how does DeepSeek-V3’s auxiliary-loss-free load balancing work?ML engineering · Technical · Hard

Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.