Trade-off analysis (ATAM-lite)
A lightweight version of the Architecture Trade-off Analysis Method for comparing options honestly and finding risks early.
16 min readEvery option costs something
There are no best practices in architecture, only trade-offs in context. A message queue buys decoupling and absorbs spikes, and costs you eventual consistency, a new thing to operate and harder debugging. If an option seems to have no downsides, you have not looked hard enough. The job of trade-off analysis is to make the costs visible before they are paid in production. Write the downside of each option next to its upside, in the same level of detail. Reviewers trust an analysis far more when the recommended option's weaknesses are stated plainly by its own author.
ATAM in an afternoon
The full Architecture Trade-off Analysis Method from the SEI is a multi-day workshop. The lite version keeps the useful core and fits in two hours with the design owner, two or three senior engineers and a product representative.
- 1. Restate the business goals and the ranked quality attributes
- 2. Build a utility tree: each quality broken into concrete scenarios, rated High/Medium/Low for importance and difficulty
- 3. Walk the High/High scenarios through the proposed design step by step
- 4. Record sensitivity points (a setting that strongly affects one quality, e.g. replication factor)
- 5. Record trade-off points (a setting that helps one quality and hurts another, e.g. synchronous replication)
- 6. Record risks and non-risks, and assign an owner to each risk
The weighted decision matrix
When choosing between two to four options, a decision matrix keeps the discussion honest. List criteria from the quality ranking, give each a weight that sums to 100, score each option 1-5 per criterion, and multiply. The number is not the answer; the conversation about the weights is. If the winner changes when one weight moves by 5 points, the options are effectively tied and you should pick the one that is cheapest to reverse. Keep the matrix in the design doc so later readers can see which criteria drove the choice.
Reversibility as a tie-breaker
Amazon popularised the distinction between one-way doors (hard to reverse: a primary database, a public API contract, a data residency choice) and two-way doors (easy to reverse: a cache library, an internal endpoint shape, a queue consumer's batch size). Spend analysis time in proportion to irreversibility. Two-way doors should be decided quickly by the team closest to the work; one-way doors deserve the full trade-off session, a written record and a review. Ask of every decision: what would it cost to undo in a year?
Key takeaways
- If an option shows no downsides, the analysis is incomplete.
- ATAM-lite: ranked qualities, a utility tree, walk the high-risk scenarios, and record sensitivity points, trade-offs and risks.
- A weighted matrix is a tool for arguing about weights, not an oracle.
- Spend effort in proportion to irreversibility: decide two-way doors fast and one-way doors carefully.
Sign in to track lessons and earn badges.