Skip to content

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

Trade-offFirst side gainsSecond side gainsThe signal that tips itDecided in
Consistency versus availability and latencyEvery read is current; no conflicts to resolve.Answers during a partition; no wait for replicas.The cost of a wrong or stale answer, such as a double booking, against the cost of no answer.CAP and PACELC
Relational versus access-pattern-shaped storage (SQL versus NoSQL)Ad hoc queries, joins, constraints, and transactions.Predictable horizontal scaling for known access patterns.Whether the access patterns are known and stable, and whether writes exceed one node.Storage choice
Synchronous versus asynchronousA simple flow with an immediate result.Decoupling, buffering of bursts, and independent failure.Whether the caller needs the result to continue.Communication
Push versus pollThe client sees changes sooner.No long-lived connections to hold.How fresh updates must be, and how many clients are connected.Push versus poll
Fan-out on write versus on readReads are fast: each user’s feed is ready.Writes are cheap: nothing is copied.The follower distribution. A hybrid pushes for most users and pulls for accounts with millions of followers.Precompute versus compute on read
Freshness versus cache hit rateReads are current.Lower latency and load on the source.How long each operation can tolerate a stale value.Caching
Normalize versus denormalizeOne copy of each fact; simple writes.Reads without joins.The read-to-write ratio and the cost of joins at the data size.Storage choice and CQRS
Precompute versus compute on readFast, predictable reads.No storage or work for results nobody reads; always current.How often a result is read compared with how often its inputs change.Batch processing
One deployable unit versus several servicesOne build, one transaction scope, simple debugging.Independent deployment, scaling, and team ownership.A force that demands the split, such as a team or release schedule of its own.Boundaries
Exact versus approximateCorrect numbers.Small, fixed memory and speed: HyperLogLog, count-min sketches, sampling.Whether a user or a contract depends on the exact number, as billing does and a view count does not.Hot-key splitting
Latency versus throughputEach item is handled at once.Batching cuts round trips and cost per item.The latency budget against the cost per call.Scalability
Stateless versus stateful servicesInstances can be added, replaced, and load balanced freely.No extra hop to a store; state stays near the computation.Whether the state can live in a shared store within the latency budget.Horizontal duplication
Managed versus self-hostedLess operations work and a faster start.Control, cost at large scale, and no lock-in.The team’s operating capacity and the scale at which the managed price exceeds the cost of running it.Deployment
Simple now versus general for laterLess to build and understand.No rework when the anticipated need arrives.Evidence that the need will arrive, and the cost of the move when it does.Defaults and triggers

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