Skip to content

Trade-off analysis

Every architecture decision gives something up. A cache improves speed but risks stale data. Microservices let teams deploy independently but make data consistency and operations harder. A managed cloud service reduces operations work but increases lock-in. There’s rarely a “best” option, only the option whose costs you’re most willing to pay.

Trade-off analysis makes those costs visible before the decision, compares options against the qualities the business actually cares about, and leaves a record so the next person understands why.

From a decision to a recorded trade-off1. Frame one decision and list real options, including "do nothing" or "keep what we have". 2. Score each option against weighted criteria drawn from the quality attribute scenarios; test the uncertain ones with a spike. 3. Name what each option gives up and the risks it carries, not just its score. 4. Record the decision and the conditions that would make you revisit it. The decisionone clear question Optionsat least three Criteriaweighted qualities Decision recordwhy, and what follows Trade-offswhat we give up, risks Evaluatescores and spikes Revisit triggerswhen to decide again1234
From a decision to a recorded trade-off The criteria come from agreed quality attribute scenarios, not from personal preference.
  1. Frame one decision and list real options, including "do nothing" or "keep what we have".
  2. Score each option against weighted criteria drawn from the quality attribute scenarios; test the uncertain ones with a spike.
  3. Name what each option gives up and the risks it carries, not just its score.
  4. Record the decision and the conditions that would make you revisit it.

Decision: how should the order service notify the warehouse, billing and email services when an order is placed?

Criteria and weights come from the agreed scenarios: reliability matters most, then the ability for teams to change independently, then operational effort.

Criterion (weight) A. Synchronous REST calls B. Message queue per consumer C. Event stream with outbox
Reliability: no lost orders (×3) 2 4 5
Teams change independently (×2) 2 3 5
Low operational effort (×2) 5 4 2
Easy for the team to learn (×1) 5 4 2
Weighted total 25 30 31

B and C end up a single point apart, which is common and useful: the matrix doesn’t make the decision, it focuses the conversation. The real question becomes “is replayable history and full decoupling worth running an event platform?” If the organization already runs one, choose C. If not, choose B now and record “adopt an event stream when a third team needs order events” as a revisit trigger.

  • Frame one decision at a time. “Which database?” is too broad; “where do we store order history that must be kept for seven years and queried monthly?” is decidable.
  • Always include at least three options, one of which is the status quo. Two options invite a false choice.
  • Use criteria from quality attribute scenarios, weighted by business priority. See quality attributes.
  • Reduce uncertainty with evidence: a spike, a prototype, a load test or a reference call, when a score is a guess and the decision is costly.
  • Name sensitivity points and trade-off points. In ATAM terms, a sensitivity point is a decision that strongly affects one quality. A trade-off point affects several in opposite directions. These are where risk hides.
  • Separate reversible from irreversible decisions. Spend analysis time on the ones that are expensive to undo; decide quickly on the rest.
  • Record it in an architecture decision record: context, options, decision, consequences and revisit triggers.
  • Better decisions, grounded in agreed priorities rather than the loudest voice.
  • Faster agreement, because disagreements become specific: a weight or a score, not a whole option.
  • A durable record that prevents the same debate every six months.
  • False precision: numbers can look more certain than the judgment behind them.
  • Time: a formal method like ATAM takes days with many stakeholders.
  • Can be gamed by choosing weights to justify a decision already made.
  • Decisions that are expensive to reverse: platforms, data stores, integration styles, build vs buy.
  • Decisions where stakeholders disagree or the trade-offs aren’t obvious.

Don’t run a scoring exercise for easily reversible decisions or ones with an obvious, low-risk answer. Decide, note it in a line, and move on.

  • Deciding first and scoring later to justify the choice.
  • Equal weights for everything, which hides what actually matters.
  • Ignoring the cost of change and the team’s current skills.
  • No revisit trigger, so a decision outlives the conditions that justified it.

Glossary: ADR, transactional outbox

Written and edited by Abhinav Taduka, enterprise software architect.