Stating a trade-off
We will X, it costs Y, we accept because Z, we would revisit if W — and the condition for revisiting is what almost nobody says.
Every system design question has many acceptable answers and one unacceptable behaviour: choosing without saying what it costs. That is what the interview is measuring, and it is also what a design document is for.
A trade-off is not a hedge. It is a decision, plus the price, plus the condition under which you would decide differently.
The shape
We will X. This costs us Y. We accept that because Z. We would revisit if W.
Applied:
We will serve the feed from a fan-out-on-write cache. This costs us a write amplification of roughly 200× for an average user, and minutes of staleness for followers of very large accounts. We accept it because reads outnumber writes by about a thousand to one and read latency is the product. We would revisit if the top-percentile follower count grew past about a million, where the write cost stops being bounded.
Four sentences. A decision, a cost stated in numbers, a reason grounded in the workload, and a named condition that would change the answer. That last part is what separates an engineer from someone repeating an architecture they read about — it demonstrates you know why it is right rather than that it is.
Say the number, not the adjective
"Faster", "more scalable", "cleaner" are not costs. They are opinions with no units.
- Not "a cache makes it faster" — "a cache takes the p99 from 200 ms to 5 ms, at the cost of up to 60 seconds of staleness".
- Not "sharding scales better" — "sharding gets us past one machine's write throughput, and it costs us cross-shard transactions, which we no longer support".
- Not "queues decouple" — "the queue means the caller returns in 10 ms instead of 2 s, and the work now completes some time later, which the user has to be told".
You rarely need precise numbers. You need order of magnitude and a unit, which is what the estimation lesson is for. "Tens of milliseconds", "a few gigabytes a day", "single-digit percentage" are all fine. "Fast" is not.
The trade-offs that come up every time
Six axes. Nearly every decision in a design sits on one of them, and knowing the pairs means you can say the cost without inventing it on the spot.
| You gain | You give up |
|---|---|
| consistency | availability during a partition, or latency — CAP and PACELC |
| latency (a cache, a read replica) | freshness, and a cache to invalidate |
| write throughput (sharding, async) | cross-shard transactions, ordering, simple queries |
| availability (replicas, retries) | cost, and duplicate work you must make idempotent |
| flexibility (a generic schema, a queue in the middle) | the ability to reason about it, and often performance |
| simplicity | scale headroom you may never need |
The last row deserves its own sentence, because it is the one candidates skip: simplicity is a thing you are trading away, and trading it for scale you do not have is the most common bad decision in this subject. A design that says "one Postgres, because ten thousand writes a second is four percent of what it can do" is a stronger answer than one that shards preemptively — if you say the number.
What makes an answer weak
- A stack with no reasoning. "Kafka, Redis, Cassandra, Elasticsearch." Every one of those may be right, and naming them is not a design. The question is what each solves that the previous thing could not.
- Refusing to choose. "It depends" is true and it is not an answer. Choose, then say what it depends on.
- A cost nobody would accept. If the price you name is one no sensible team would pay, either the decision is wrong or you have not understood the cost.
- No condition for revisiting. A decision with no expiry is a decision that will be wrong silently later.
- Inventing precision. "We will need 14,338 requests per second" from nothing is worse than "call it ten thousand". The estimation lesson is explicit about this.
Writing it down, which is the same skill
The interview version and the document version are the same four sentences. An architecture decision record — docs/adr/ in this repository — is exactly that shape: context, decision, consequences.
That framing is why an ADR is worth writing even when nobody asks. Six months later the question is never what was decided; it is why, and would we still. A decision recorded without its cost cannot be revisited, because nobody can tell whether the conditions changed.
Under the hood: how a system design interview is actually scored
Interviewers at most companies that run these interviews use a structured rubric, not a gut call, and the rubric maps closely onto the four-sentence shape this lesson teaches. It typically scores across a handful of separate dimensions rather than one overall "good/bad": something like requirements gathering, high-level design, deep dive, and trade-offs and communication — each scored somewhat independently, because a candidate can be strong in one and weak in another, and the write-up an interviewer files afterward has to justify a hire/no-hire decision to people who were not in the room.
"Trade-offs and communication" is graded on whether a cost was stated, not on which side of the trade-off you landed. There is very often no single correct architecture the interviewer is checking your answer against — two candidates who make opposite choices (shard early vs. shard never) can both score well, and two candidates who make the same choice can score differently, because one said what it cost and the other did not. This is a mechanical consequence of the rubric structure: a category literally named "trade-offs" cannot be satisfied by a design that presents itself as costless, however good the architecture is otherwise.
The deep-dive category tends to carry more weight than the initial sketch, which is exactly why the design-method lesson budgets the largest share of time there — it is not just a pedagogical suggestion, it reflects where the rubric the interview was built around actually allocates points. A candidate who draws an elaborate, complete-looking system and never goes deep on any one part is, mechanically, leaving an entire scored category nearly empty.
A written design document is scored by a different but related process: review, not a rubric — but it fails for the identical reason. A design doc that a reviewer cannot poke holes in because it never states what it costs is not more convincing for having no visible weaknesses; an experienced reviewer reads the absence of a stated cost as a sign the author has not found it yet, not as a sign there isn't one. That is why "context, decision, consequences" — the ADR shape this lesson already draws the parallel to — puts consequences in the document as a required section, not an optional closing thought.
Try it yourself
Turn a stack-listing answer into a scored one
A candidate says: "I'd use Kafka to decouple the services, Redis to cache the hot reads, and Cassandra for the write-heavy event table." Before reading on: using the six-axis table above, rewrite this into the four-sentence trade-off shape for just the Kafka decision — decision, cost with a rough number or unit, the reason grounded in a stated requirement, and a condition to revisit.
One way to fill in what the stack-listing answer left out
"We will decouple order creation from confirmation email and analytics using a queue (Kafka). This costs us eventual delivery instead of an immediate guarantee — the email or analytics update might lag by seconds, and we now need consumers that tolerate at-least-once delivery and possible duplicates. We accept that because the customer only needs the order confirmed, not the email sent, within their session — order creation stays fast at the p50/p99 that matters, and the downstream steps have no user waiting on them. We would revisit this if a downstream consumer's queue lag regularly grows past a few minutes, which would mean consumers can't keep up with producers and the decoupling isn't actually protecting the write path anymore." Notice what changed: "Kafka" stopped being the point, and became the mechanism a stated cost and a stated reason are hung on — which is the same shift the lesson describes between naming a stack and describing a design.
Misconceptions
- "A more detailed design always scores better." Detail spent on a part the interviewer never asked to go deep on, at the expense of stating trade-offs, is detail that actively hurts the score on a rubric that treats trade-offs as its own category — thoroughness in the wrong place is not free.
- "If the interviewer didn't push back, my design had no weak points." An interviewer often deliberately does not push back on every gap, to see whether the candidate names it unprompted — silence is not the same signal as approval, and the strongest candidates state their own design's costs before being asked.
Sources
- Alex Xu, System Design Interview (Vol. 1 & 2) — the requirements-to-trade-offs structure this lesson and the design-method lesson both draw on.
- ByteByteGo and similar interview-preparation sources on how FAANG-style system design interviews are commonly rubric-scored across separate categories.
- Michael Nygard, Release It! — stability patterns framed explicitly around what each pattern costs, a written analogue of stating a trade-off.