Topic 021 / Core
Architectural trade-offs and decision-making
Chapter 2.4 · Trade-offs and Method
What and why
Every non-trivial design decision helps one quality attribute at the cost of another — faster usually means less consistent, simpler usually means less flexible — and choosing without naming the cost means re-arguing the same decision later with no record of why. Architectural trade-offs and decision-making means naming, for each significant decision, the options considered, the quality attributes each affects, the choice made, and the consequence accepted. Builds on: → 20 — trade-offs are weighed against the concrete load, storage and latency numbers estimation produced, not against vague intuition.
Diagram
| Decision | Options considered | Chosen | Consequence accepted |
|---|---|---|---|
| Order status consistency | Strong consistency; eventual consistency | Eventual, with a visible "updating…" state | Customer may briefly see a stale status |
| V1 service structure | Monolith; microservices | Monolith | Faster to ship; must watch for coupling as it grows |
| Maps / routing | Build in-house; buy a geocoding API | Buy | Faster, less control, ongoing vendor cost |
How it works
- Name the decision precisely — not "how should we build this," but one specific question.
- List at least two real options, including the simpler one (rule 7: no forced complexity).
- For each option, name which quality attribute (→ 16) it helps and which it hurts.
- Weigh the options against the actual estimated numbers (→ 20) and constraints (→ 17) — not a general preference.
- Choose, and write down the consequence accepted, not just the benefit gained — every choice costs something.
- Record the decision so it can be revisited when its assumptions change (formal record → 57).
Practical example
Choosing consistency for order status display (the full consistency-models vocabulary is → 129; here the decision is made at the requirements level). Options: strong consistency (every read reflects the latest write, at the cost of availability or latency during a disruption) vs. eventual consistency (always responsive, but a read may lag a write by seconds). For a food delivery app, order status shown to a customer tolerates a few seconds of staleness, but payment capture does not — the same system makes this trade-off differently for the two cases, not once for everything.
When to use it
- Use when: a decision trades one quality attribute against another — which is most of system design.
- Avoid when: re-litigating a decision whose assumptions haven't changed — that's exactly what the record is for.
- Failure scenarios: a decision made verbally, forgotten, and re-argued six months later by someone who repeats the already-rejected option.
- Simpler alternative: a decision with only one real option needs no ceremony — just note why no alternative was worth considering.
Practice
(Decision kind — judge 3 scenarios and defend the choice; 20–30 min, no lab services). For "design a food delivery app" (the requirements from Chapter 2.2), write three explicit trade-off decisions, each with the options considered, the choice, and the consequence accepted:
- Consistency level for order status display.
- Monolith vs. microservices for the v1 launch.
- Build vs. buy for maps and routing.
Done when each decision names at least one rejected option and the specific consequence — not just the benefit — of the option you chose.
Key takeaway
A trade-off is a decision that helps one quality attribute at a stated cost to another; naming the cost is what separates a decision from a guess. Done when you can write a trade-off record with a rejected alternative and an accepted consequence for any real decision in under 10 minutes. Used next in → 22 (methodology), → 57 (ADRs).
References
AWS Well-Architected Framework — names six pillars for evaluating cloud
architectures, useful as a checklist of quality attributes to weigh trade-offs against;
see references.md.