Common Trade-offs in System Design
Question: which trade-offs come up in almost every design, and what decides each one?
Each hub’s options table holds the trade-offs for its own question. The same few pairs recur across hubs and cases, and the mock-interview observations name them as the ones interviewers probe. This note lists them in one place. Refine it as practice shows which signals matter.
For the method of analysing a single trade-off (objectives, criteria, alternatives, and a recorded decision), see trade-off analysis.
The trade-offs
Precompute versus compute on read
A news feed is the standard example. Fan-out on write copies each new post into the feed of every follower when it is created, so reading a feed is a single lookup. Fan-out on read assembles the feed from the followed accounts when the user opens it. Writing is then cheap, but reading is slow. An account with millions of followers makes fan-out on write expensive, so a common design pushes posts from ordinary accounts and merges posts from very large accounts at read time.
The same choice appears with materialized views, leaderboards, and search indexes: each is a precomputed answer kept up to date by the writes.
Using the list
- In a design, name the trade-off, the side chosen, and the signal from the requirements that chose it. That is one sentence per decision.
- Record the signal that would reverse the choice as a trigger; see defaults and triggers.
- Most trade-offs are decided per operation, not per system. A booking and a feed in the same product can sit on opposite sides.
Library sources
- Weinstock and Goodenough 2006, On System Scalability – what scalability costs, quoted in scalability
- Kleppmann and Riccomini 2026, Designing Data-Intensive Applications, Second Edition – chapter 1, data systems architecture as trade-offs; chapter 2, the home-timeline case study, on Precompute versus compute on read
- Ford et al. 2022, Software Architecture: The Hard Parts – trade-off analysis for distributed architectures