What the interview tests
easy 30 minA design interview is a short piece of real work, watched by someone who writes down what you do.
Video lesson · Chapter 1 of 5
Two people want seat seven
Four signals in ninety seconds
1:30Reel coming soon
Theory
Read or listen first. About 1 min.
What it is
An interviewer cannot see your thoughts. They see what you ask, draw, say and change. Those visible pieces of behaviour are called signals.
System design is choosing and arranging parts so that a job is done well enough, for enough people, at an acceptable cost. The interview asks you to do a small piece of that in front of someone.
Why it exists
Companies want to know how you would work on a real, unclear problem. A coding exercise shows part of that. A design conversation shows judgement, priorities and how you work with others.
Knowing which signals are collected lets you show them, instead of hoping they are noticed.
A short history
1970s to 1990s
Research on hiring compares methods; structured interviews, with the same questions and scoring for everyone, do better than free conversation.
1998
Frank Schmidt and John Hunter publish a large review of hiring methods, widely cited for that result.
2000s
As web services grow, design questions spread in technology hiring.
Words to know
- Signal
- Something observable that counts for or against.
- Rubric
- The written list of signals and levels.
- Functional requirement
- What the system does.
- Non-functional requirement
- How well it does it.
- Debrief
- The meeting where interviewers compare notes.
How it works
Step through the idea, or press Play.
You work. A vague prompt, a board and about 45 minutes
Understand it
Start here
A trial shift in a kitchen
A restaurant does not hire a cook by asking for recipes from memory. The cook works one order while the head chef watches. The finished plate matters, and so does everything on the way to it. A design interview is a trial shift.
What it is
System design, in one sentence
System design means making technical decisions so that an application serves its users, at their number and speed, without falling over, costing too much or wearing out the team that runs it. Every decision gives something up, so the subject is trade-offs, not famous diagrams.
The interview is
- An open problem with many fair answers
- A conversation you lead
- A test of how you choose and explain
- Practice for a real design review
The interview is not
- A quiz on product names
- A race to draw the most boxes
- A coding round without a compiler
- A trick with one hidden answer
A picture you will see often
Why growth is hard
Why not just add servers?
More copies of a service help only when the service is the limit. Often the limit is the database, a single hot item, distance or the cost of mistakes. The table shows pressures that often appear. The user counts are only a rough guide, because a million quiet users can be less work than ten thousand busy ones.
Pressures that tend to appear
| Users, roughly | Often called | What starts to hurt | Candidates to consider |
|---|---|---|---|
| 100 | Hobby project | Very little: one server and simple queries are fine, no cache | One server, one database, backups |
| 10 thousand | Growing product | Slow pages, slow queries, complaints about speed | Better indexes first; then 2 to 3 servers with a load balancer, a replica, basic caching |
| 1 million | Growing company | Reads or writes near one database's limit, stale caches, every release touches everyone | Autoscaling, a shared cache, a CDN, queues, gradual releases; splitting data if measured |
| 100 million or more | Global platform | Distance, copies that disagree between regions, partial failures, cost | Several regions, global load balancing, events, services split by team, cost reviews, machine learning for capacity where it pays |
Users are not load
Why they ask
Four reasons behind the round
It looks like the job
Engineers discuss designs, compare options and write down decisions. It is closer to that work than a puzzle, though most days still hold plenty of code.
It shows communication
Can you explain a hard idea, listen, and work on one drawing with someone?
It shows experience
Running real systems teaches trade-offs. Study and practice teach them too, and follow-up questions show how deep the understanding goes.
It helps set the level
The same prompt can be answered at several depths, so the round often carries more weight for senior roles.
The scorecard
Four signals, strong and weak
No two companies share one scorecard, and nobody outside sees the exact form. These four headings cover what they commonly look for.
What each signal looks like
| Signal | The question in their head | Strong | Weak |
|---|---|---|---|
| Scoping | Do you find out what to build? | Asks about users, features and targets; separates what it does from how well; says what comes first and what is out | Designs at once, never asks about scale, ignores constraints |
| Design | Can you build the whole? | A clear drawing, data flow, the API, a working path, then growth with reasons | Starts at table columns, adds everything on day one, misses a part the features need |
| Technical judgement | Do you know why? | Compares options, uses numbers, finds bottlenecks first, covers edge cases and failure | Knows one answer, no cost, unrealistic sums, no failure modes |
| Communication | Could we work together? | Says the plan, checks in, takes hints, sums up | Long silence or no pause, defends an error, loses the thread |
Where each signal shows
Word for word
Sentences that carry a signal
| Signal | Weak sentence | Strong sentence |
|---|---|---|
| Scoping | "I know this one." | "Before I design: how many people use it, is it read more than written, and how fast must it answer?" |
| Scoping | "It should support everything." | "Three features: see free seats, book, cancel. Reports are out for now. Is that fair?" |
| Design | "Users, load balancer, servers, cache, database, done." | "First one service and one database, and I will follow one booking through. Then I will see what breaks." |
| Judgement | "Cassandra, because it scales." | "These writes are many, small and always read by key, and a few seconds of staleness is fine, so I lean to a wide-column store. The cost is no joins. If we needed transactions I would stay with MySQL." |
| Judgement | "We add shards." | "10,000 reads a second on average, 30,000 at peak. My assumed database handles 5,000, so a cache or replicas, and the writes still fit." |
| Communication | Silence | "I am choosing between two keys. Give me ten seconds, then I will say both." |
Worked example 1
Library seats, with the notes
Minutes 0 to 3
Interviewer
Let readers book study seats in the city's libraries.
You
Two kinds of people: readers who book, and librarians who block a broken seat. For readers I would do three things: see free seats, book one, cancel. Is that the right core?
Interviewer
Yes.
You
One thing must never happen: two readers with the same seat in the same slot. And I expect a rush when booking opens. When is that?
Interviewer
Nine o'clock.
You
Then the hard part is the 9:00 rush on a few seats, not storage. I will get one correct booking working first, then spend our time there. Is that a good plan?
What the interviewer may write
| Heard | Note | Signal |
|---|---|---|
| "Three things: see, book, cancel" | Chose a small scope, checked it | Scoping + |
| "Must never happen: two readers" | Found the correctness rule unprompted | Judgement + |
| "The hard part is the rush, not storage" | Named the crux at minute 3 | Judgement + |
| "Working first, then time there" | Gave a plan and asked | Communication + |
Worked example 2
Recipe sharing, a weak start repaired
Minutes 4 to 9
You
I will put the recipes in a sharded store with Kafka in front and Elasticsearch behind.
Interviewer
How many recipes are posted a day?
You
I did not ask, and I should have. What should I assume?
Interviewer
Ten thousand.
You
That is one write every eight or nine seconds. Shards and Kafka have no job here, so I take them back. One PostgreSQL with text search, and a place for photos. Photos are the real volume.
Interviewer
Good. Go on.
The other chair
From notes to a decision
What usually happens
- 1
During
They type phrases and times, so they may look away. It is not a bad sign.
- 2
Straight after
They write feedback: evidence for and against, under each heading.
- 3
Rating
They choose a result and often a level, usually before reading the others.
- 4
Debrief
The interviewers, or a separate group, weigh all the rounds together.
- 5
Decision
Hire or not, at which level. A split can lead to one more round.
One interviewer's reasoning
The blueprint
A 40-minute order, and how it maps
An older plan has five steps in 40 minutes. It is the same journey as our six phases, and leaves five minutes for hellos in a 45-minute slot.
| Step | Minutes | Do | Say or ask | Our phase |
|---|---|---|---|---|
| 1 Clarify | 5 | Features; scale, latency, availability; budget, time, existing systems | "How many daily users? More reads or writes? What delay is fine? One region or several?" | Scope |
| 2 Estimate | 3 | Requests a second, storage, bandwidth if it decides something | "100M users × 10 a day is about 10,000 a second, 30,000 at peak. 100M records of 1 KB is 100 GB." | Numbers |
| 3 Whole design | 10 | Main parts, data flow, the calls | "What are the services, how do they talk, where does data live?" | API, design |
| 4 Deep dive | 15 | Data model, API detail, cache and how it is refreshed, edge cases | "Relational or not, and why? What do we cache? What if it fails?" | Deep dives |
| 5 Scale | 7 | Bottlenecks, redundancy, trade-offs | "What breaks at ten times? What is a single point of failure? What does speed cost?" | Deep dives, wrap-up |
Real failures
When large systems got it wrong
| Where | What happened | What it teaches | What changed |
|---|---|---|---|
| Twitter, about 2008 to 2013 | Frequent overload (the "fail whale" page) while a Ruby on Rails monolith grew past its limits. Popular accounts are a separate problem: one post copied to millions of timelines | Copying on write is costly for accounts with millions of followers | Services split out over years. The talk cited below describes timelines built on write for most, with the largest accounts merged on read |
| Instagram launch, October 2010 | The app took off at once on a single server; the two founders moved it to cloud machines within days | A launch can exceed any plan. Know how you would add capacity | Moved to Amazon EC2 and added machines as it grew |
| Amazon Prime Day, July 2018 | Press reports of internal documents said too few servers for the surge; a simpler fallback page was used | Even careful teams are surprised. Plan a reduced mode | Servers were added by hand during the event |
| GitHub, October 2018 | A 43-second network break, then databases in two regions each held writes the other lacked; service was degraded for 24 hours and 11 minutes | Networks split. Automatic failover needs a rule about data | GitHub reported changes to failover rules and to testing |
What to expect
Common prompts and formats
Familiar prompts
| Prompt | Difficulty | What it stresses |
|---|---|---|
| URL shortener | Easier | Unique codes, storage, caching |
| Social feed (Twitter/X) | Medium | Fan-out, timelines, scale |
| Chat (WhatsApp) | Medium | Live messages, WebSockets, end-to-end encryption |
| Video (YouTube) | Hard | Processing, CDN, recommendations |
| Ride hailing (Uber) | Hard | Location search, live updates, matching |
| Web search (Google) | Very hard | Crawling, indexing, ranking |
Where to go next in this course
- 1
Building blocks
Load balancers, caches, databases, queues.
- 2
Distributed systems
Consistency choices, the CAP theorem and why networks fail.
- 3
Databases in depth
Relational or not, replication, sharding, and when to use each.
- 4
Full designs
Guided problems such as the URL shortener, feed and chat.
Summary
The whole topic in one minute.
Four signals matter: scoping, design, technical judgement and communication. Each can be heard in what you say.
The interviewer writes evidence and compares it with a rubric. Give them clear evidence.
- Four signals: scoping, design, technical judgement, communication.
- The interviewer writes evidence, so give sentences worth writing.
- A working design with reasons beats a famous one without.
- Correcting yourself with a number is a strong signal.
- Formats differ; the four signals stay the same.