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

Taught in

References