Guide
How to draw a system design interview diagram, and practise it
A good system design interview diagram is drawn in an order you can talk through: requirements, a rough estimate, the request path, the data, then scale and failure. The diagram is not the answer - your explanation of it is. So practise drawing it and saying it out loud, against the clock.
Last checked
The method, in six steps
- Write the requirements on the board first. Two short lists: what the system does (functional) and how well it must do it (scale, latency, availability, consistency). Ask the questions that change the design - read-heavy or write-heavy, how many users, how fresh must data be - before you draw a box.
- Do a back-of-the-envelope estimate. Requests per second = requests per day / 86,400; size for the peak, not the average. Storage = new items per day x item size x how long you keep them. Round hard - the point is the order of magnitude, which tells you whether one database is enough.
- Draw the request path left to right: client, then the front door (load balancer or API gateway), the service, the cache, the database. One box per responsibility. Label every wire with what travels on it, and whether it is synchronous or a queue.
- Design the data. Name the main tables or keys and the access pattern that decides the store - a key-value lookup, a range query, a sorted set, a full-text search. Put the schema next to the service that owns it.
- Scale it and break it. Add replicas, a cache, partitioning or a queue only where the estimate says you need them, and say why. Then point at the single points of failure and say what happens when each one goes down.
- Close with the trade-offs. Say what you chose not to do and what you would change at ten times the load. Interviewers listen for the reasoning, not for a perfect diagram.
Keep the board readable from across a call: few boxes, labelled wires, and the request path in one direction. A diagram that needs a legend needs fewer shapes.
A worked example: a rate limiter
Requirements: limit each user to N requests per minute across many API servers, add very little latency, and keep working if one server dies.
Estimate: if 10 million requests arrive a day, that is about 116 a second on average - size for several times that at peak. Each check is one read and one increment of a counter, so the counter store has to answer in well under a millisecond.
Diagram: client -> API gateway -> rate-limit check -> shared counter store (an in-memory store such as Redis) -> the API service. The interesting wire is the one to the counter store: the hard part is where the shared counter lives, not the algorithm.
Failure: if the counter store is down, do you let requests through (fail open) or reject them (fail closed)? Say which, and why, for this system.
The full board, with its walkthrough, is free: Rate limiter.
Rehearse it out loud
Most candidates practise by reading answers. The interview tests something else: drawing and explaining at the same time. Three ways to rehearse:
- Turn your diagram into a walkthrough. In Tierslate, write each thing you would say as a step; each step lights up the part of the board it is about. Play it back and talk over it until the order feels natural.
- Practise against the clock. Tierslate's practice mode gives you a blank board, a brief and its requirements, and a timer (30, 45 or 60 minutes, or untimed). The Free plan includes one timed interview practice a month; Pro is unlimited.
- Get your design checked. An AI design review reads the whole board and pins single points of failure, missing pieces and scaling risks to the shapes they concern (it runs on AI credits).
Common mistakes
- Drawing before asking questions - the requirements decide the design.
- Adding Kafka, sharding and three caches before the estimate says you need any of them.
- Unlabelled arrows. Every wire should say what travels on it.
- Never naming a single point of failure. The interviewer will find it; it is better if you do.
- Running out of time on the diagram and never reaching the trade-offs.
Free templates to practise with
Tierslate has 100 worked system design templates. These 6 are free in full - diagram, walkthrough and notes - and every other template's problem and requirements are free to read at templates.
- Rate limiter - Why the hard part of limiting requests is where the shared counter lives, not the algorithm.
- Ride matching - Teaches how a geospatial index turns supply and demand into a dispatch decision, and why that decision is an assignment over a batch rather than a nearest-neighbour lookup.
- Pastebin - Why storing text is the easy part and expiry, abuse and the read path are the design.
- Load balancer - How requests are spread across servers, and why the health check matters more than the algorithm.
- API gateway - Why auth, routing and limits move to one front door, and what that door costs when it falls over.
- Leaderboard - How a sorted set answers top ten and my rank in milliseconds, and why rank is computed rather than stored.
Questions
What should a system design interview diagram include?
The requirements, a rough capacity estimate, the request path from client to storage with labelled wires, the main data model, and the scaling and failure points - drawn in that order so you can explain it as you go.
What is a good tool to practise system design interviews?
Any whiteboard will do for drawing. Tierslate adds what drawing alone does not: worked templates (6 free), a walkthrough you can rehearse out loud, timed practice (one timed interview practice a month on Free) and AI design review. You can start in the editor with no account.
How do I practise explaining the diagram, not just drawing it?
Write the explanation as ordered steps attached to the parts of the diagram, then play it back and talk over it. Doing this a few times makes the order of your answer automatic, which frees your attention for the interviewer's questions.