Book Deep Read · System Design Interview Vol 1 · Ch 3
System Design Interview: An Insider's Guide · Vol 1 · Ch 3 · Alex Xu · 2020
Hire someone to redo your kitchen and the good ones never open with "I'll put in marble." They ask first: how many people live here? How old are the kids? A cat? What's the budget? How much do you actually cook? Only after that does a plan mean anything. This chapter teaches the engineer's version of that opening: given a deliberately vague, wide-open question, how do you use a fixed order of moves to turn it into a question you can actually answer.
This is the only chapter in the book that teaches no technology at all. No caches, no databases, not a single component name. And it is the chapter that decides whether you pass. Because this kind of exam is never a contest over who has the right answer — the question has no right answer. It watches something else: hand you a thing nobody has thought through, and can you tidy it into a plan, step by step.
The most common failure looks like this: the question ends and the person starts answering. Out of nerves, out of fear of silence, out of a sense that answering fast looks smart.
The trouble is that they are usually answering a different question. Starting before you understand is spending forty minutes on a problem you invented in your own head. However well you do it, the person across the table is thinking one thing the whole time: why didn't you ask?
The opposite failure is just as common: talking about the big picture forever and never letting anything land. It looks thorough, but the one sentence they were waiting for — "and how would you actually build that part" — never arrives.
Both are the same illness: no order of operations.
① Ask first. Who uses this, which features must exist, roughly how many people, how fast does it need to be. Only then do you know whether you are building a bicycle or a freight train — and those two share no method whatsoever.
② Sketch it rough, and get a nod. Put a few boxes on the board: where data comes in, who it passes through, where it rests, how it goes back out. Then stop and ask, "Does this direction look right to you?" That pause matters — going on only after a nod is what keeps you from walking the wrong way for twenty minutes.
③ Pick the one or two parts that matter most and dig in. Not every part; there isn't time, and it isn't the point. What they want to see is usually one or two boxes. Pick those and explain what is actually inside: how it works, why it is built that way, and what it costs.
④ Wrap up. Spend the last few minutes on: where this thing breaks first, what happens when a piece dies, what you would watch after it ships, and what you would change if ten times as many people showed up.
One discipline runs through all four: say it out loud. They cannot see inside your head, so the two minutes you spend thinking silently register as two minutes of nothing. Even hesitation should be spoken: "I'm torn between two approaches, one is cheaper and one is faster, and I lean toward the second because…" — that sentence is itself worth points.
One honest cost: this order only guarantees that you explain yourself well. It is no substitute for actually knowing the material — the framework lets someone competent perform normally; it does not let someone unprepared bluff through.
What is being graded is not the diagram you end up with, but how you got from one vague sentence to that diagram. Ask first, sketch rough and get a nod, dig into one or two parts, leave three minutes to wrap up — narrating the whole way.
Want the mechanisms, the time budget and the diagrams? → Switch to the deep read
You think a system design interview tests whether you can design systems. What it actually tests is this: with badly incomplete information, forty-five minutes on the clock, and another person sitting across from you, can you turn a vague problem into a workable one? The book says it plainly — this is a simulation of two co-workers collaborating on an open-ended problem, and the final diagram matters far less than the process that got you there. The chapter teaches no technology. It gives you an order; and that order happens to be exactly the order of a real design review.
POST /v1/tweets.This closes Part I of Volume 1 and acts as the book's hinge: Ch1 hands you the parts (cache, replicas, load balancer, sharding), Ch2 hands you the ruler (QPS, storage, availability, all as orders of magnitude), and Ch3 hands you the order in which to use them. None of the twelve case chapters that follow — rate limiter, URL shortener, crawler, news feed, chat, YouTube, Google Drive — introduces a new method. Every one of them is this four-step sequence run once more. The real-world counterpart is concrete too: these four steps are the skeleton of a design doc and a design review, compressed from two weeks into forty-five minutes.
The interviewer says "design Twitter," then stops talking. There is no scale in those two words, no feature scope, no constraints — and that is deliberate. The book names the reason: the questions are open and vague because real problems inside companies look exactly like that. The vagueness is part of the exam.
What happens if you skip this? Three deaths, all typical.
One: answering immediately. The book is blunt — firing off an answer without thinking earns you no bonus points; this is not a trivia contest. Worse, you may be answering the wrong question entirely: the interviewer's Twitter has fifty million daily users and roughly a 100:1 read/write ratio, while you spent forty minutes designing an internal tool with ten thousand. Two problems three orders of magnitude apart share no correct answer.
Two: all breadth, no depth. Eight boxes on the board, each carrying nothing but a name. You have proved you have heard of these components, not that you have used them.
Three: diving straight in. Three minutes in, you are arguing about how many virtual nodes belong on the hash ring while the requirements are still unclear. The book gives a pointed example: in a question meant to probe whether you can handle scale, spending a long stretch weighing BFS against DFS is a clear negative signal — it says you don't know what is being looked for.
Add the hard constraint: forty-five minutes. A standard on-site round runs 45–60 minutes, and once introductions and your own questions are subtracted, the design itself gets a bit over forty. On that budget, no order means you will drop something whole — not a detail, but an entire dimension such as non-functional requirements or the wrap-up. So the chapter delivers exactly one capability: a fixed sequence that fits any question, plus how many minutes each step gets.
The book's demand here is close to severe: do not answer right away. Slow down, think deeply, ask questions. It puts "this is not a trivia contest" alongside, precisely to block the urge to jump — speed earns nothing and risks everything.
What to ask? Two layers. The first works on any question: which specific features are we building? How many users? How fast does the company expect to scale? What is the existing tech stack, and which services can we reuse? The last one is skipped most often and is closest to real work — real designs are never done on blank paper.
The second layer lands those on the actual problem. Using "design a news feed," the book's questions are: mobile app, web, or both? Which features matter most? Is the feed in reverse chronological order or ranked by weight (friends' posts scoring higher)? How many friends can one user have? What is the traffic volume? Can a post contain images and video?
Notice what these have in common: a different answer to any one of them changes the architecture, not just a parameter. "Ranked by weight" means an extra ranking service and a feature store; "video allowed" means a transcoding pipeline, object storage and a CDN — enough to be its own interview question. Which gives the test in reverse: if a question's answer wouldn't change your design, it doesn't deserve any of these ten minutes.
The output of this step is not the questions. It is a short list in the corner of the board that both of you accept: feature scope, scale assumptions, explicit non-goals. Writing it down buys the same thing it bought in Ch2 — every later sentence now rests on something, and the other person can point at one line and say "change this one and let's look again."
The goal here is not to be right. It is to reach a picture you have both nodded at. The book's word is buy-in, and that is the whole point of the step: treat the interviewer as a teammate, ask for feedback while you draw, rather than presenting a finished artifact.
Three concrete things. Draw the box diagram: clients, APIs, web servers, data stores, cache, CDN, message queue — the fewest boxes that trace data in and out. Run a back-of-the-envelope estimate (the Ch2 method) to check on the spot that this picture holds at the scale fixed in step 1; the book adds that you should do the arithmetic out loud. Negotiate with the interviewer whether to expand API endpoints and the database schema — this is an option, not an obligation: some want to see the signatures, some consider it a waste of the hour.
The common mistake here is not drawing badly — it is not stopping. Asking "does this direction look right to you?" costs ten seconds; not asking costs the next twenty minutes spent on a path the other person never accepted.
By now four things are in place: goals and feature scope are settled, the blueprint is drawn, you have feedback, and you have some sense of where to focus. This step is picking the components worth opening up, with the interviewer, and then opening them up.
Which component depends on the question. The book gives a matched pair: for a URL shortener the weight is on the hash function — mapping a long URL to a short key and handling collisions; for a chat system it is on cutting latency and maintaining online/offline presence. Same process, entirely different landing point — which is the difference between a framework and a template.
The real skill here is time management. The book names one way to lose points outright: getting pulled into unnecessary detail. Ten to twenty-five minutes buys two components, not five. So before choosing, ask: "would you rather see the storage side or the fanout side?" That question routinely saves five minutes, and five minutes is an eighth of the round.
When you do open a component, three things suffice: how it works, why it is built that way, what it costs. The third is what separates recital from experience. Saying "use a cache" and stopping is recital; saying "the moment the cache dies, all of that traffic lands directly on the database, so you either warm it or put a breaker in front" is a deep dive.
The book lists five closing moves:
What these share is that they all concern "afterwards." Many people treat these three minutes as a courtesy. They are the highest-yield three minutes in the room: the previous forty proved you can design, and these three prove you know what happens after a design ships — which is precisely the line between someone who solves exercises and someone who has been on call. The book adds a line that gets ignored: finishing the design is not finishing the interview; the interviewer decides when you are done. Ask for feedback early and often.
There is no technology selection in this chapter, but there are three real trade-offs: how to spend the clock, how to balance breadth against depth, and when to admit you don't know.
Table 1 · The four steps: output, budget, the usual failure, and how to recover
| Step | Budget (45-min round) | Must deliver | Usual failure | Recovery line |
|---|---|---|---|---|
| ① Scope | 3–10 min | Agreed feature scope, scale assumptions, explicit non-goals | Answering without asking; or the reverse — still interviewing them at minute 15 | "Let me confirm a few things that change the architecture, then I'll start designing." |
| ② High-level | 10–15 min | A box diagram they nodded at, plus one live estimate | Drawing without stopping, never asking for buy-in; or opening the schema too early | "That's my overall shape — does the direction look right? Want me to write the API too?" |
| ③ Deep dive | 10–25 min | 1–2 components with mechanism, reasoning and cost | Five components at two sentences each; or detail irrelevant to the question | "Storage or fanout — which would you rather see? I'll dig where you care." |
| ④ Wrap up | 3–5 min | Bottlenecks, error cases, monitoring and rollout, next scale tier | Eaten by the earlier steps and skipped entirely | "With a few minutes left, let me cover bottlenecks and what I'd watch in production." |
Table 2 · The book's Dos and Don'ts, folded into one table
| Dimension | Do | Don't |
|---|---|---|
| Opening | Always ask for clarification; never assume your assumption is right | Jump to a solution before requirements and assumptions are clear |
| Mindset | Accept that there is no single right answer and no best answer; offer several approaches with their costs | Guess at a "model answer" and force-fit it; give one approach and be unable to say what it gives up |
| Communication | Say what you are thinking; if you're stuck, ask for a hint | Think in silence — unseen thinking reads as no thinking |
| Pacing | Agree at the high level first, then drill component by component, most critical first | Sink deep into one component in the opening minutes |
| Closing | Ask for feedback early and often; they say when it's over | Treat them as an examiner; assume you're finished once the design is described |
Table 3 · Three real trade-offs, and the cost of choosing wrong
| Trade-off | Cost of leaning A | Cost of leaning B | How to decide |
|---|---|---|---|
| Breadth vs depth | Breadth: reads as reciting a component list; no judgement visible | Depth: structural gaps go unnoticed and the wrap-up gets squeezed out | Make sure all four steps land, then give every remaining minute to depth |
| Driving vs following | Driving: you may dig somewhere they don't care about | Following: reads as having no opinion, moving only when prompted | At each turning point, propose and check: "I plan to dig into X — good?" |
| Admitting vs bluffing | Admitting: exposes one gap in your knowledge | Bluffing: exposes your judgement and your honesty — far more expensive | The book is unambiguous: if you're stuck, ask for a hint. Hints don't cost points; invention does |
That last row deserves a sentence of its own. People assume "I'm not sure" loses points. The opposite holds: the interviewer almost certainly knows this area better than you, invention gets caught, and what gets caught is not "doesn't know" but "can't be trusted." Once credibility goes, nothing earlier in the hour brings it back.
These four steps were not invented for interviews. They are a compressed design review. Stretch the clock from forty-five minutes to two weeks and each step has a counterpart: step 1 = settling requirements and non-goals — Amazon's Working Backwards pushes this to its limit by writing the press release and FAQ before any code, killing ideas that don't move a customer before an engineer is assigned; step 2 = the "architecture overview" section of a design doc, and the review meeting where people nod; step 3 = the thickest part of that doc, key decisions weighed against alternatives; step 4 = the pre-launch checklist: monitoring, alerting, rollback, capacity. Which is why this chapter is worth learning on its own: the return does not stop at an offer.
① This is a simulation of two co-workers collaborating on an open-ended problem. The vagueness is deliberate and is part of the exam.
② Four steps: scope → high-level design with buy-in → deep dive → wrap up, budgeted at 3–10 / 10–15 / 10–25 / 3–5 minutes.
③ Step 1: do not answer immediately — speed earns nothing. One test decides what to ask: would a different answer change the architecture? If not, don't ask it.
④ Step 2's keyword is buy-in: stop when the sketch is up and get a nod. Those ten seconds buy back twenty minutes.
⑤ Step 3 fits 1–2 components, so ask which one they want to see. Cover three things each: how, why, and what it costs — naming the cost is what makes it a deep dive.
⑥ Don't skip step 4: bottlenecks, error cases, monitoring and rollout, next scale tier. It proves you know what happens after a design ships.
⑦ The discipline running through all four: say it out loud. Silent thinking scores as no thinking; if you're stuck, ask for a hint — hints don't cost points, invention does.
⑧ Three red flags: over-engineering (design purity over trade-offs), narrow mindedness, stubbornness. None of them is a technical problem; all three are collaboration problems.
⑨ These four steps are a compressed design review: non-goals → architecture overview → key decisions and alternatives → launch checklist. The return does not stop at an offer.