Study plan
You do not need to read this whole guide before an interview, and reading alone will not get you through one. This page turns the material into a plan that fits the time you have: broad coverage first, depth where it pays off, and practice throughout.
Choose your plan
Section titled “Choose your plan”Pick a timeline and work down the checklist. Every step links to the page to read or the problem to solve. Ticks are saved in your browser and shared with the skill map: a topic ticked here shows as learned on the map, and switching timelines keeps your progress. To move it to another device, use Download progress under the map.
Get oriented
Aim: Learn the interview format and the numbers you will use in every answer.
Aim: Learn the format, then practise estimates until they take two or three minutes.
Aim: Learn the format and make estimation a habit you use while reading every other page.
- Read how this guide is organised and what a design interview tests
- Learn the step-by-step framework for answering a design question
- Memorise the latency numbers (orders of magnitude, not digits)
- Work through both estimation examples by hand
- Learn the key powers of two and KiB vs KB
- Know what three, four and five nines allow per month
Fundamentals and trade-offs
Aim: Be able to explain each idea in two sentences with an example.
Aim: Explain each idea and name the trade-off it forces.
Aim: Explain, argue both sides, and connect each idea to a real system.
Building blocks
Aim: Know what each block is for and when to reach for it.
Aim: Know when to use each block, its failure modes and its main alternatives.
Aim: Go one level down: internals, limits, and the further reading on each page.
- DNS
- Content delivery networks
- Load balancers
- Reverse proxies and API gateways
- Monoliths and microservices
- Service discovery and service mesh
- LLM-powered systems
- Relational databases
- Replication
- Partitioning and sharding
- Denormalisation and SQL tuning
- NoSQL families
- Choosing SQL or NoSQL
- Object storage
- Where to cache
- Cache update strategies
- Queues and back pressure
- Event streaming (Kafka-style logs)
- HTTP/1.1, HTTP/2 and HTTP/3
- TCP and UDP
- RPC and REST
- API styles: GraphQL, SSE, WebSockets, webhooks
- Rate limiting
- Timeouts, retries, circuit breakers
- Observability and SLOs
- Security basics
Practise system design questions
Aim: Solve some: attempt each one yourself for 45 minutes before reading the solution.
Aim: Solve many. Redo one you struggled with a week later.
Aim: Solve most, out loud, and compare your design with the solution step by step.
- Design a URL shortener / Pastebin
- Design the Twitter timeline and search
- Scale a system from one user to millions
- Design a web crawler
- Design a cache for search queries
- Design social graph data structures
- Design sales rank by category
- Design a personal finance service
- Pick extra questions from the list and solve them timed
Practise object-oriented design
Aim: Solve some: classes, relationships and one or two key methods.
Aim: Solve many, writing real code for the core methods.
Aim: Solve most and discuss extensibility and concurrency for each.
Learn from real systems
Aim: Read about the companies you are interviewing with.
Aim: Read about your target companies and a few well-known architectures.
Aim: Add the classic papers: they explain why today’s systems look the way they do.
The phases are ordered, but they overlap in practice. Once you have done the first phase and a handful of building blocks, start the practice questions and keep reading in parallel. Each practice question will send you back to the pages you need.
Do I need to know everything here?
Section titled “Do I need to know everything here?”No. Design interviews are open-ended conversations, and nobody is expected to know every topic in depth. What you will be asked depends on:
- Your level. Senior and staff candidates are expected to go deeper, to drive the conversation and to reason about operations, cost and failure. Junior candidates may get a simpler problem or none at all.
- Your background. A backend engineer will be pushed on databases and consistency; a mobile or front-end engineer more on APIs, caching and client behaviour; a data engineer on pipelines and storage.
- The role and the company. Infrastructure teams probe distributed systems; product teams care more about data models and APIs. Large tech companies often have one or two design rounds; smaller companies may fold design into a general technical interview.
- Luck. The question you get, and the interviewer’s own interests, matter more than anyone likes to admit.
The strategy that works for all of them is breadth first, then depth in a few areas. Know a little about every major building block, enough to say what it is for and what it costs. Then go deep in the areas closest to your experience and to the job, because that is where follow-up questions will land.
How to practise
Section titled “How to practise”Attempt before you read. Set a timer for 45 minutes and solve a question on paper or a whiteboard before looking at the solution. Then compare: which requirements did you miss, which estimate was off, which component did you not consider? Reading a solution first feels productive but teaches much less.
Talk out loud. The interview is a conversation. Explain your reasoning as you go, as if someone were listening. Recording yourself is uncomfortable and very effective.
Use the framework every time. Follow the same steps on every question: requirements, estimates, API and data model, high-level design, deep dives, scaling and failures, wrap-up. See how to approach a system design interview. After a few rounds the structure becomes automatic and frees your attention for the problem.
Do mock interviews. Pair with a friend or colleague and take turns as interviewer. Playing the interviewer is surprisingly useful: you see how vague requirements and hand-waving look from the other side.
Revisit what went badly. Keep a short list of gaps you found (“I don’t know how to shard a timeline”, “my storage estimate missed replicas”). Read the relevant page, then redo the question a week later.
Read about real systems. Engineering blogs of the companies you are interviewing with show what they care about and give you concrete examples to mention. A few classic papers explain why today’s systems are built the way they are.
Related topics
Section titled “Related topics”- Introduction — how this guide is organised.
- How to approach a system design interview — the step-by-step framework to use while practising.
- Back-of-the-envelope estimation — the method behind every sizing question.
- More interview questions — extra problems once you finish the worked ones.
- Engineering blogs — where to read about the companies you are interviewing with.
Based on The System Design Primer by Donne Martin (CC BY 4.0). Restructured, rewritten and updated; site content is licensed under CC BY 4.0.