Preparing for an inference or ML-infrastructure loop
The design round asks you to size a fleet, choose a batching policy and defend a latency target. Most chapters end with how to say it in the room, and Chapter 16 runs eight full design rounds.
Handbooks 01 / September 2026 / Premium PDF
From one GPU to a fleet: how serving systems batch, cache, schedule and scale, with every number worked.
Follow one request from the socket to the last token. Size the KV cache for a 70B model on eight H100s. Choose an operating point from a latency target, then scale out, route, autoscale and debug the fleet. Seventeen chapters, one running example, and the arithmetic an interviewer expects you to do out loud.
The complete PDF and new editions are included while your Premium membership is active. Keep the copies you download.
Already a member? Sign in to download your copy →

Read three pages before you decide
These are real pages from the PDF: the memory budget that sets concurrency on an eight-GPU node, the throughput-latency curve that picks an operating point, and the case for and against separating prefill from decode.
Who it is for
The design round asks you to size a fleet, choose a batching policy and defend a latency target. Most chapters end with how to say it in the room, and Chapter 16 runs eight full design rounds.
You know queues, caches and load balancers. The handbook shows where LLM serving breaks those instincts: memory that grows per token, steps that mix two workloads, and a tail that compounds.
Failure drills start from what a dashboard shows and name the first metric to split. Admission, autoscaling and routing chapters give the signals to act on and the numbers to set them.
Concept pages explain one mechanism each. The handbook joins them: one running example carried through every decision, and self-check questions with worked answers at the end of each chapter.
Contents
A calculation from Chapter 3
Llama 3.1 70B has 80 layers and 8 key/value heads of dimension 128. In BF16 each token's cache is 2 × 80 × 8 × 128 × 2 bytes = 327,680 bytes, exactly 320 KiB. A 32,768-token conversation therefore holds 10 GiB of cache.
Give the engine 90 percent of each 80 GB GPU, subtract a 17.5 GB weight share and a 4 GB runtime reserve, and each GPU keeps 50.5 GB for cache: 404 GB across the node, about 1.23 million tokens. At an average of 4,096 tokens per sequence that is about 301 concurrent sequences. That is a memory ceiling. The handbook then shows why a 25 ms latency target lands nearer 130.
Try your own model in the KV-cache calculator → · Read the KV cache sizing concept →
Interview questions it prepares you for
Each prompt below has its own worked answer on the site. The handbook gives the system-level reasoning that connects them.
How it was made
Mechanisms come from the original papers, including Orca, PagedAttention, SGLang, Sarathi-Serve, DistServe, Splitwise, Mooncake and speculative decoding, and from vendor specifications and maintainer documentation. The handbook cites 35 primary sources by number. Its worked examples and self-check answers are recomputed by the build and must match the text before an edition ships.
Every chapter opens with links to the concept pages and questions that go deeper:
The KV cacheContinuous batchingPagedAttentionPrefix cachingChunked prefillTTFT, TPOT and goodputDisaggregated prefill and decodeSpeculative decodingMulti-LoRA serving
Reviewed 2026-09-24. Calculations are first-order estimates with stated assumptions; no GPU benchmark was run. Prices in examples are illustrative, not quotes. The cover is conceptual vector artwork.
Questions
The complete PDF is included with active Premium membership. Sign in, then download it from this page. You keep the copies you download, and new editions are available while your access is active. The three sample pages above are free to read.
No. Concept pages explain one mechanism each, and the course teaches in short lessons. The handbook connects them into whole designs: one running example carried from a single request to a sized, routed and debugged fleet, with the arithmetic done at every step. Every chapter links to the concept pages and questions that go deeper.
The mechanisms apply to any modern serving engine. Examples cite vLLM and SGLang documentation, NVIDIA Dynamo, llm-d and the Kubernetes Gateway API Inference Extension, and the worked numbers use H100 specifications. Engine flags change between releases, so the handbook names the setting and links the maintainer's page.
No. They are first-order calculations from published specifications and model configurations, with every assumption stated so you can replace it with a measurement. Where a paper reports a measured result, the handbook attributes it to the authors. No GPU benchmark was run for this edition.
No. The rubrics in the mock rounds describe what strong answers tend to contain. They are a study aid written for this handbook, not any company's grading criteria.
The AI Infrastructure Field Guide builds the foundations from the first tensor to distributed systems. The AI Accelerator Field Guide compares GPUs and TPUs and is free with an account. The Open Model Field Guide covers model releases, architectures and deployment paths.