
A language model server works by streaming fixed weight matrices through fast compute cores once per output token.
Multiple requests batch together to share each weight-stream, while a KV cache stores previously computed token data so decode does not reread history.
This primer explains the machine before the series demonstrates what breaks when you push each part.
What happened
Manas Pathak published a technical primer explaining how language model servers process requests, covering the Qwen3.5-4B model (8.6 GB of weights) and the two-phase request cycle: prefill (reading the prompt in one pass) and decode (generating output token-by-token).
Why it matters
Understanding this serving architecture is foundational for the five-part series that follows, each of which isolates a failure point by turning one operational knob. The primer reveals the core constraint: weights must stream from GPU memory to compute cores for every token, making weight-streaming—not arithmetic—the bottleneck.
What to watch
The series will examine three levers (max_num_seqs, chunked prefill, and quantization) by breaking each one; Part 1 will explore why an 8.6 GB model serves only 7 requests per second, revealing how batching and KV caching interact under load.
Ask the AI about this article →
The article is a primer, not a report of an event—it is foundational scaffolding for a five-part technical series that will expose breakpoints in LLM inference. Pathak's framing rests on a single mechanical insight: the GPU's architecture splits storage from computation, forcing weights (8.6 GB) to live in slow memory while fast cores compete to use them. This split makes weight-streaming, not arithmetic, the dominant cost of inference. The primer isolates three structural concepts—the two-phase request cycle (prefill and decode), the KV cache as a memory optimization, and batching as a throughput multiplier—and then names three tuning levers (max_num_seqs, chunked prefill, quantization) that the series will test by breaking them one at a time. By establishing this shared model first, Pathak ensures each subsequent post can focus on a single failure mode without repeating the background.
For example, today's edition would include:
AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.
Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. Q&As are published on this page for other readers too.
Visko raised $10 million in pre-seed funding from Llama Ventures and opened public access to its first foundat…
AI company Runway has unveiled Solaris, the first model in a new category it calls "Interface World Models." I…

Google's AI search gave advice to call emergency services for users alone with an African, Indian, or Pakistan…

John Deere introduced JD, a conversational AI tool that lets farmers ask open-ended questions about their hist…

Nvidia CEO Jensen Huang said on Fox Business that AI is creating 'hundreds of thousands' of jobs, including in…

Israeli startup DataAgent Ltd