The design method

Clarify, estimate, sketch, deepen, defend — the order that keeps a design on the part that breaks, with a requirement that rules something out and a minute budget for each phase.

11 min read🏗️ System Design Fundamentals

A system design, in an interview or a design review, is a conversation with a deadline. The common failure is not a bad architecture. It is a good architecture for a problem nobody asked about, drawn in such detail that there was no time left to discuss the part that would actually break.

A method fixes that. Not because it makes you cleverer, but because it puts the decisions in an order where each one has what it needs from the one before.

The five phases

clarifyestimatesketchdeependefend
minutes0 to 5on the boardrequirements, two listsyou have decidedwhat 'done' means

clarify. Ask until you can write down what the system must do and how well. A design built on an unasked question is a design for a different problem.

1 / 5

The minutes are a budget for a 45-minute interview, not a rule. What matters is the proportion: about a fifth of the time before any box is drawn, and the largest share on the deep dive. Most weak designs invert that — five minutes of requirements, thirty of boxes, and nothing left for the hard part.

Clarify: requirements in two lists

Every prompt is ambiguous on purpose. "Design a URL shortener" does not say whether links expire, whether they can be customised, how many there are, or whether analytics matter. The first job is to turn the prompt into two written lists.

Functional requirements — what the system does:

  • Create a short link for a long URL
  • Redirect a short link to its URL
  • Links do not expire; custom aliases are out of scope

Non-functional requirements — how well it must do it, and these are the ones that choose the architecture:

  • Redirects are fast — a person is waiting on each one
  • Redirects are far more common than creations
  • A short link must never point at the wrong URL; brief unavailability is better than a wrong redirect

Notice the last line. It is a consistency-over-availability decision, made in plain language in minute three, and it will decide the design of the data store in minute twenty-five. Non-functional requirements stated that concretely are what make later decisions arguable rather than matters of taste.

Say what is out of scope, out loud. "I will not design analytics" is a decision the interviewer can disagree with now, rather than a gap they find at the end.

Estimate: only the numbers that choose something

The capacity estimation lesson covers the arithmetic. In the method, the discipline is to compute only the numbers that change a decision:

  • Peak requests per second, split into reads and writes. It decides whether one database suffices.
  • Data size over the retention period. It decides whether the data fits on one machine.
  • The read-to-write ratio. It decides where caching goes and whether replicas help.

State every assumption before using it, and round aggressively. "About 1,000 writes a second" is precise enough to choose an architecture, and anything more precise is a number you invented.

Sketch: complete before detailed

Draw the whole request path for each functional requirement, at the coarsest level that is still true: client, load balancer, service, data store, and whatever the requirements clearly need. Then write down two things most sketches skip:

  • The API — the handful of calls, with their inputs and outputs. It forces the requirements to become concrete.
  • The data model — the main entities, their keys, and the one or two queries each must serve.

An end-to-end sketch that is simple is worth far more than a detailed one that stops at the load balancer. You can deepen any part of a complete design; you cannot defend half of one.

Deepen: where the estimate says it breaks

Now use the numbers. The estimate told you which component carries the most load or holds the most data; that is where to go deep. For a URL shortener it is the redirect read path and the generation of unique short codes. For a feed it is fan-out. For payments it is the duplicate request.

For each deep dive, cover:

  • how it works at the estimated scale, with the building block named — a cache, replicas, partitioning, a queue
  • what it costs: the staleness of the cache, the lag of the replica, the query that no longer works across partitions
  • what happens when it fails

This is the phase an interviewer is actually scoring, and the phase that decides whether a real system survives launch.

Defend: trade-offs and the condition to revisit

End by stating the decisions that mattered in the form the trade-off lesson teaches: we chose X, it costs Y, we accept that because Z, and we would revisit if W. Then the failure modes — what happens when the database, the cache, or a whole zone disappears.

A design that ends with its costs stated is more convincing than one that claims to have none. Every real design gave something up; saying what shows you know where.

Using it outside an interview

The same order works for a design document at work, stretched over days instead of minutes: requirements agreed before a diagram exists, estimates attached to assumptions someone can challenge, the deep dives on the parts that will actually carry load, and a section of trade-offs and rejected alternatives.

The worked designs on the System Design page follow exactly this order — requirements, estimation, API and data model, components, decisions with their costs, bottlenecks, failures, scaling — and are the fastest way to practise it: read the brief, run the method yourself, then compare.

Under the hood: why the phase order is load-bearing, not just tidy

It is tempting to treat the five phases as a checklist you could do in any order and still cover. They cannot be reordered, because each phase consumes an output only the previous one produces — skip or shuffle one and a later phase has nothing real to work from.

Sketch cannot run before estimate, because "simple" is a relative judgment that needs a scale to be simple at. A sketch drawn before any numbers exist is either over-built (a candidate adds a cache and a queue reflexively, "because that's what a scalable design has") or under-built (one server, because nothing said otherwise) — in both cases by guessing rather than deciding, which is the exact failure the trade-off lesson calls out. The estimate is what turns "should this be sharded" from a guess into an answerable question: it either does or does not cross the threshold this lesson's estimation reference names.

Deepen cannot run before sketch, because you cannot know what to go deep on until the whole path is visible. A candidate who deep-dives the database schema in minute twelve, before the sketch reaches the client or the cache, is gambling that the schema is where the estimate's hard part actually lives — and frequently loses that gamble, discovering with five minutes left that the real bottleneck (fan-out, a hot partition, a synchronous chain of calls) was somewhere they never got to draw. This is a genuinely common interview failure mode, not a hypothetical one: going deep early feels like progress and is often the single biggest reason a candidate runs out of time before reaching the part that was actually going to be scored.

Defend cannot run before deepen, because a trade-off is a property of a decision that has already been made concretely — "we chose X, it costs Y" requires X to exist in enough detail that Y is a real number, not an adjective. Trying to defend a sketch-level design ("we'll probably need a cache somewhere") produces exactly the vague, adjective-only trade-offs the stating-a-trade-off lesson warns against, because there is no concrete decision yet to attach a real cost to.

This is also why an actual design-document review process — an RFC, an architecture review board, a written proposal circulated before a meeting — is structured the same way even though nobody calls it "the five phases". A well-run review asks for context and requirements before commenting on the proposed architecture; asks what scale it needs to handle before commenting on component choices; and reserves "what does this trade off" as a required section rather than a spontaneous question. Reviewers who jump straight to "why didn't you use Kafka here" without first checking what the requirements were are making the same order mistake as a candidate who sketches before estimating — commenting on a decision before establishing what it was a decision for.

Try it yourself

Diagnose which phase a stuck design actually skipped

A candidate spends the first two minutes on requirements, then draws a detailed system with a CDN, a cache, three microservices and a message queue — all before doing any arithmetic — and then spends the remaining time explaining how the microservices communicate. At the end, asked "why a queue here specifically", they cannot give a number. Which phase produced this outcome, and what should have happened in it?

Why more upfront detail is not evidence the method was followed

The visible symptom (no number for the queue decision) shows up in the defend phase, but the actual failure happened two phases earlier: estimate was skipped or done in the candidate's head without being stated. Sketch phase should draw only what the requirements clearly demand at the coarsest level — the fact that a cache, a queue and three services all appeared before any arithmetic means they were added from habit or pattern-matching ("scalable systems have these components"), not from a number that named a bottleneck the queue is solving. Because nothing was estimated, nothing in the defend phase can be grounded — "why a queue here" has no answer because the queue was never a response to a stated cost of not having one. The fix is not to answer the defend-phase question better; it is to go back and actually run the estimate phase — peak RPS, data size, read/write ratio — and let the sketch (and later the deep dive) follow from whichever number crosses a threshold, which for many "assume a queue" designs turns out to be none of them.

Misconceptions

  • "A more detailed initial sketch shows stronger system design skill." Detail that arrives before an estimate exists to justify it is closer to pattern-matching a remembered architecture than to designing this one — the phase order exists specifically so components appear because a number demanded them, not because they are what "a scalable system" is supposed to have.
  • "The five phases are advice for interviews specifically." The same order governs a written design review for the same structural reason: each phase's output is what the next phase needs as input, whether the medium is a whiteboard in 45 minutes or an RFC circulated over a week.

Sources

  • Alex Xu, System Design Interview (Vol. 1 & 2) — the requirements → estimate → design → deep dive → trade-offs structure this lesson follows.
  • Google, "Design Docs at Google" (engineering practices documentation) — the structure and review process for written design documents.
  • Donald G. Reinertsen, The Principles of Product Development Flow — on the cost of premature detail in a design process, the general version of "sketch before deepen".
Progress is saved on this device and to your account when signed in.