trade-off
A choice that gains one property by giving up another, such as speed bought with staleness.
In more detail
Every component in a design buys something and breaks something: a cache buys latency and costs freshness, a replica buys read capacity and costs consistency. A design that records only the gains is half a design. Writing the cost down is what makes a decision testable later.
Related terms
- decision record — A short written note of a technical decision, the facts behind it and the trade-off accepted, so later reviewers understand why.
- system design — The work of deciding how the parts of a software system fit together to meet its requirements, and writing down what each choice costs.
Taught in
- What A Design Is For, And How To Run A Design Discussion — Scalable System Design & Distributed Architecture
- Monolith Versus Services: The Honest Trade Offs — Scalable System Design & Distributed Architecture
- Worked Design Three: Scaling The Metrics Pipeline — Scalable System Design & Distributed Architecture