Stage 0 · Interview method · Easy · 12 min
How system design interviews work
What you are being asked to do, how the 45 minutes usually run, and what interviewers look for at each level.
What each interview level is expected to know
Learn first: nothing. This is a starting point.
After this lesson you can:
- Split a 45-minute design interview into its five parts, and say roughly how long each one takes.
- Ask the questions that shape the design before you draw any boxes.
- Spot the common ways candidates run out of time, and avoid them.
Start here
See it in 60 seconds
Forty-five minutes, step by step
A system design interview has five steps in a usual order, and the 45 minutes are split so the deep dive gets the most.
Scene 1 of 6 · Agree what to build
Spend about 6 minutes asking what users must do, how many there are, and what is out of scope.
- Minutes used
- 6 of 45
- Agree what to build. Spend about 6 minutes asking what users must do, how many there are, and what is out of scope.
- Estimate the size. Next, about 4 minutes of quick maths: requests a second and storage, only what the design needs.
- Sketch the design. Then 12 minutes on the main boxes, APIs and data, following one read and one write end to end.
- Go deep. The biggest share, 18 minutes, digs into the riskiest part, such as a busy path or a failure.
- Wrap up. The last 5 minutes sum up the trade-offs and what you would build next.
- Think out loud. Through it all, talk through your thinking: the interviewer judges how you reason, not only the final picture.
- Now you try. Tap the five steps in the order you would do them. For example, tapping Requirements, High-level design, Estimates, Deep dive and Wrap-up gives this: Step 2 should be estimates, not high-level design. Estimate before designing: the numbers decide things like whether one database is enough.
Scene 1 of 6: Agree what to build. Spend about 6 minutes asking what users must do, how many there are, and what is out of scope.
Key points
- Agree what to build first: what users do, how many there are, and what is out of scope.
- Estimate only the numbers your design decisions need, such as requests a second and storage.
- Sketch the whole system end to end before going deep on any one part.
- Spend the most time on the riskiest part, and think out loud throughout.
In plain words
The interviewer says one line: "Design a chat app like WhatsApp." You have about 45 minutes to work out, out loud, what to build and how its parts fit together. That is a system design interview. System design is the boxes and arrows: which services, databases, caches and (A waiting line for work. One part adds messages, and another takes them off and handles them later, at its own pace.) you need, and how data moves between them. The classes and code inside one service are a different topic, called low-level design.
The interview runs in four broad stages. First you agree what to build, then you estimate how big it is. Next you sketch a design that works end to end, and last you go deep on the riskiest parts. Nobody expects a memorized answer: the marks go to the questions you ask and the reasons you give. If one stage runs long, move on rather than start over.
The problem it solves
The prompt is one vague line, and there is no single right answer. Candidates often jump straight to a diagram full of technologies, run out of time before the hard parts, or never say why. The same final design can pass or fail depending on how it was reached.
Why it matters
Interviewers mostly grade how you work, not whether you reach a textbook diagram. They watch the questions you ask, the limits you name, and why you chose each piece. Knowing the shape of the interview lets you spend your time on the parts that are judged.
A worked example
The picture above splits a 45-minute interview into five parts. Requirements take 6 minutes, estimates 4 and the high-level design 12. The deep dive gets the most, 18, and the wrap-up gets 5. Check the sum: 6 + 4 + 12 + 18 + 5 = 45. Each part sits inside the ranges listed under How it works.
Think of it like…
Think of a cooking exam with a time limit. The judges watch how you work, not only the final dish.
Where this analogy stops working
The exam part is true: time is short, and your method is marked. But a cooking exam has a set recipe. A design interview has no single right answer. Several designs can pass, and the mark goes to the reasons you give for yours.
Try it
See it working
A typical web system
Press a button to trace a request through the system.
- Users — browser / app — healthy
- DNS — name → IP — healthy
- CDN — static files — healthy
- Load balancer — spreads requests — healthy
- App servers — stateless, × N — healthy
- Cache — hot data in memory — healthy
- Primary DB — source of truth — healthy
- Read replica — copies of the data — healthy
- Message queue — async work — healthy
- Workers — background jobs — healthy
- Request/response
- Asynchronous
- Replication link
- Request
- Response
- Cache hit
- Cache miss → DB
- Write
- Event / message
Click any component to open its concept page.
Also try: Capacity estimation
Mechanics
How it works
Most interviews follow the same five parts, and the clock guides how long each one gets. The picture shows what part 3 asks for: one write and one read, followed end to end.
Clarify requirements (about 5–8 minutes)
Ask what users must be able to do: these are the (Something a system must let users do, such as send a message or search old messages.). Then ask how well it must work: how many users, how fast, how often it may be down. Agree what is out of scope, so the time goes to the core.
Estimate (about 3–5 minutes)
Do quick sums for requests per second, storage and bandwidth. Work out only the numbers your design decisions need. An estimate that changes nothing in the design is wasted time.
High-level design (about 10–15 minutes)
Pick a case to follow belowWith this case: The write went client, app server, database and back, and ended in 201 Created with the code x7Kp2.
Client, browser or app Client browser or app App server, the API, NOW App server the API new code x7Kp2 NOW Cache, code → link Cache code → link Database, every code Database every code - Client — browser or app — healthy
- App server — the API — healthy — NOW — new code x7Kp2
- Cache — code → link — healthy
- Database — every code — healthy
- Request
- Write
- Answer
Step 1 of 3Step 1 of 3 · App server
Done: The client sends POST /urls
- What happens
- The body holds the long link to shorten.
- Why
- Naming the API first shows what goes in and what comes out.
- What changes
- The app makes a short code: x7Kp2.
- Next
- The app saves x7Kp2 in the database
API callPOST /urlsAnswer–Step 1 of 3: App server. The client sends POST /urls. The body holds the long link to shorten.
What these pictures simplify. This picture leaves out the load balancer, the second app server and how codes are made, which a real answer covers in the deep dives. Some shorteners answer 302 instead of 301, so they can count every click.
Name the main APIs and the data you store, then draw the boxes. Follow one read and one write from the client to the database and back. The design should work end to end before you improve any part.
In the picture, the design is a URL shortener. The write, POST /urls, saves a short code and ends in 201 Created. The read, GET /x7Kp2, misses the (A small, fast store that keeps copies of popular data, so most reads skip the slower database.), reads the database and ends in a 301 to the long link.
Saying each hop out loud shows the interviewer the design works. It also shows where to go deep next: here, the read path, because reads far outnumber writes.
Deep dives (about 15–20 minutes)
Pick the riskiest parts and go deep: the busiest path, a failure, or data that must stay correct. This step gets the most time. Senior candidates are usually expected to choose these parts themselves.
Wrap up
Sum up the trade-offs you made. Name the bottleneck, what you would monitor, what you would build next, and what you left out on purpose.
Use it when
- Any system design interview round: the order keeps you from skipping the requirements or running out of time.
- A design document at work: the same steps apply, with days in place of minutes.
Skip it when
- A coding round on data structures and algorithms: there you write and test real code.
- A low-level design round, which asks for the classes and methods inside one service.
Check yourself
Judgement
Trade-offs and how it fails
What you give up
- Performance
- Your estimates are rough on purpose. A round number is enough to choose a design, and exact sums cost minutes you need for the deep dives.
- Complexity
- Breadth and depth compete for the same 45 minutes. Cover the whole system first, then go deep on one or two parts. A design that is deep in one corner and missing the rest reads as unfinished.
Failure modes
- Spending 25 minutes on capacity sums, with no time left to draw the design.
- Drawing boxes before asking any question, then finding out the system needed something else.
- Naming a technology with no reason: "I would use (An open-source system that stores streams of messages in order on disk. Many services can read the same messages, each at its own pace.)" says little until you say what problem it solves.
In the real world
- Interviewers at large tech companies usually score how you gather requirements, explain trade-offs and find the weak points. The final diagram is only part of the mark.
- For senior roles, interviewers usually expect the candidate to lead the conversation and choose the deep dives.
- Alex Xu's book System Design Interview (2020) teaches a four-step framework for these interviews.
Trade-offs to be ready to discuss: Read heavy vs write heavy
Check yourself
Interview
What interviewers look for
- Drive: propose the next step instead of waiting to be asked.
- Give a reason for every component: "a cache here because reads outnumber writes a hundred to one."
- Depth grows with level. A junior completes one clear design. A senior spends most of the time on deep dives and failures. A staff candidate reshapes the scope and weighs cost.
Say it out loud: The interviewer says only: "Design a photo-sharing app." What would you ask in the first few minutes, and why?
Expected depth by interview level
Levels describe the depth interviewers probe, not years of experience. Choose a level on the learning path to highlight it.
- JuniorCore
- Follow the steps: clarify, estimate, sketch one design that works.
- MidCore
- Use the time well: a complete design plus one deep dive.
- SeniorCore
- Drive the conversation and choose the deep dives yourself.
- StaffCore
- Reshape the scope, set priorities, and say what you would not build.
Practice
Apply it
Three harder questions
The first two use the idea on a new case. The last asks you to judge a design.
Apply it
Apply it
Judge a design
Go deeper
Sources and further reading
First-hand sources to check this page against and to go further. They are standards, official docs, original papers, and guides from engineering and security teams. Each link was opened on 8 November 2026.
- Engineering guideNon-Abstract Large System DesignGoogle SRE workbookA full design worked through with real numbers: requirements, estimates for one machine, then many.
- BookDesigning Data-Intensive ApplicationsMartin Kleppmann (O’Reilly)Chapter 1 explains what makes a system keep working, grow with its load, and stay easy to change. Interviews ask about all three.