System Design & Highload
Interview Workbook

System Design & Highload

A compact, no‑fluff field guide for a distributed‑systems interview: the theory you must recall, the vocabulary that signals seniority, diagrams you can redraw on a whiteboard, and ready‑to‑speak answers to the classic scenario questions.

Stateless servicesCachingLoad balancing Rate limitingCircuit breakersSLO / SLI p95 / p99IdempotencyLLM routing
5
Topic chapters
3
Scenario playbooks
5
Full design drills
20+
Diagrams & charts

How to use this workbook

Read top‑to‑bottom once for coverage, then re‑read only the 🔑 key idea, 🎤 say‑this, and cheat sheet blocks the night before. Every chapter follows the same rhythm:

📖

Theory

The mental model in a few tight paragraphs — enough to reason from first principles.

🛠️

Practice

Concrete numbers, code, HTTP examples and diagrams you can reproduce live.

🎤

Say this

Crisp phrasings that make you sound like you have run this in production.

Chapters

The 60‑second mental model

Almost every highload question decomposes into the same loop. Keep this diagram in your head and narrate against it.

Clients millions Edge / Gateway TLS · auth · rate limit Stateless service autoscaled fleet Cache · DB · Queue state lives here Every request: authenticate → route → serve from cache → fall back to data Cross‑cutting: retries · timeouts · circuit breakers · backpressure · idempotency · telemetry observe → detect → mitigate → root‑cause → prevent
The request lifecycle every scenario question hangs off of.
The one‑liner that frames every answer

“Push state to the edges (cache/DB/queue), keep compute stateless so it scales horizontally, protect every hop with timeouts, retries and circuit breakers, and measure everything with SLOs on p99 so I know when to mitigate.”