Diagrams for system design interviews
In a system design interview, the diagram is how you think out loud. Practise drawing the standard building blocks fast enough that the interviewer sees your reasoning, not you fighting a tool.
For: Software engineers preparing for system design and architecture interviews
The problem
Interview diagrams are drawn under time pressure, then changed constantly as the interviewer adds requirements: ten times the traffic, a second region, a new read path. Freehand drawing tools make every change a redraw, and heavyweight diagramming tools spend your minutes on menus.
Which diagrams fit
- Architecture diagram
- The main event: clients, load balancers, services, caches, queues, databases and object storage, with arrows that read as requests or data flow.
- ER diagram
- When the interviewer asks for the data model. Three or four tables with keys and relationships show you have thought about access patterns.
- Flowchart
- For one tricky path in detail, such as how a write is replicated or how a cache miss is handled.
A way of working
Start from the requirements, not the boxes: write the read and write paths and the rough numbers (requests per second, data size) in a note on the canvas.
Draw the simplest design that works, client to service to database, then add components only when a requirement forces one: a cache for read load, a queue for write spikes, a CDN for static content.
Label arrows with what flows along them ("GET /:code", "write event"), because an unlabelled arrow is a question the interviewer will ask.
Practise the change, not just the drawing: take a finished template, apply a new requirement and rearrange it in under two minutes. Tidy layout keeps the result readable.
The ten shapes you need
Almost every system design answer uses the same small set: user or client, web or mobile app, load balancer, service, cache, queue, database, object storage, CDN and an external API. The architecture shape set covers these without vendor icons, which is deliberate. Interviewers want to know you need a queue, not which brand of queue, and generic shapes keep the conversation on trade-offs.
Show the data flow, then the failure
A strong answer walks one request through the diagram, then asks what breaks. Draw the happy path first with solid arrows. Then use a dashed line for asynchronous work, such as a queue consumer or a replication stream, so the interviewer can see at a glance what is synchronous. When they ask about failure, you can point at a specific arrow.
Rehearse with worked examples
The URL shortener, the news feed, the chat service and the rate limiter come up again and again. Open the URL shortener template, cover the notes, and explain each component aloud. Then change one requirement, such as custom aliases or analytics on every click, and redraw only what changes. That is the skill the interview actually tests.
Templates to start from
URL shortener system design
The classic interview question: write path, cached read path and asynchronous analytics.
Microservices
Clients, an API gateway, four services with their own data, and an event bus between them.
Event-driven architecture
Producers, a broker topic, independent consumers and a dead-letter queue.
Tools for this job
Read next
Questions
- Can I use this in a live remote interview?
- Yes, if the interviewer lets you share your screen: it opens instantly in the browser with no account. There is no real-time collaboration, so if the interviewer needs to draw on the same canvas, use the interview platform's own whiteboard and practise here.
- Are there AWS, Azure or GCP icons?
- No. The architecture shapes are vendor-neutral on purpose. For interviews that is usually an advantage, because it keeps attention on design choices rather than product names. If you need official cloud icons for production documentation, draw.io has the full libraries.
- How detailed should an interview diagram be?
- Enough that every box earns its place against a stated requirement, and no more. A dozen components is typical for a 45-minute interview. Detail goes into the parts the interviewer probes, often the data model and the hottest read or write path.