Architecture Trade-offs, Risks, and Evaluation
Compare options with explicit criteria, identify sensitivity points and risks, and evaluate the architecture against quality scenarios.
Introduction
“Architecture is the art of trade-offs.” Every decision gives something and takes something. A decision presented without its costs is advocacy, not architecture.
This lesson builds the habit of making trade-offs explicit, evaluating the whole design against the drivers, and finding risks while they are still cheap to address.
Learning Objectives
- Compare design options using explicit, weighted criteria.
- Identify sensitivity points, trade-off points, risks, and non-risks.
- Evaluate an architecture against quality scenarios using a lightweight method.
- Distinguish reversible from irreversible decisions and treat them differently.
- Recognize cognitive biases in design decisions.
- Use AI as a devil’s advocate while retaining judgment.
1. Compare Options With Criteria
When choosing between options, avoid decisions by habit or preference. Use a decision matrix:
| Criterion (weight) | A: Relational DB search | B: Dedicated search engine |
|---|---|---|
| Meets search latency scenario (5) | 3: probably adequate to 50k items; to be measured | 5: designed for it |
| Operational complexity for team of four (4) | 5: no new system | 2: new system to run and monitor |
| Consistency with source of truth (3) | 5: same transaction | 3: eventual consistency |
| Search relevance features (3) | 2: basic | 5: rich |
| Cost in year one (3) | 5 | 3 |
| Reversibility (2) | 4: can add engine later | 3 |
Weights and scores are judgments; their value is making the reasoning visible and open to challenge. Write the reason behind each score, not just the number. If the totals are close, the decision may not matter much, so pick the simpler or more reversible option. If a small weight change flips the result, that is a sensitivity worth noting.
2. Reversibility
Not all decisions deserve the same effort.
| Type | Meaning | Approach |
|---|---|---|
| Two-way door | Easily reversed at modest cost | Decide quickly, learn, adjust |
| One-way door | Costly or impossible to reverse | Analyze carefully; prototype; get review |
Tenancy model, primary data store, public API contracts, and data residency are closer to one-way doors. A choice of logging library or a UI component set is not.
Keep options open where it is cheap: hide choices behind interfaces, avoid proprietary lock-in unless the benefit is clear. But do not over-engineer for flexibility you will never use; abstraction has a cost.
3. Sensitivity Points, Trade-off Points, Risks
Borrowing vocabulary from architecture evaluation methods:
| Term | Meaning | Example |
|---|---|---|
| Sensitivity point | A design choice with a strong effect on one quality | Index design strongly affects search latency |
| Trade-off point | A choice that affects several qualities in opposite directions | Strict audit logging improves accountability but costs write performance |
| Risk | A decision likely to cause trouble with respect to a driver | Single database instance with no tested failover |
| Non-risk | A decision judged sound for a driver, with a reason | Stateless instances behind a load balancer support instance failure scenarios |
Record these in a table, linked to the quality scenarios. The risk list becomes part of the project risk register later.
4. Lightweight Architecture Evaluation
A practical, one- or two-session review inspired by formal methods such as ATAM:
- Present the drivers: business goals, constraints, utility tree.
- Present the architecture: views and key decisions.
- Walk through the top scenarios: for each, ask the presenters to trace how the design responds, and the response measure it can achieve.
- Record findings: risks, non-risks, sensitivity points, trade-off points.
- Rank risks by impact on the drivers.
- Agree actions: prototype, measure, redesign, or accept.
Invite people who will build and run the system as well as the designers; fresh eyes find assumptions that authors cannot see.
5. Evidence for Decisions: Spikes and Prototypes
When an important decision depends on an uncertain fact, buy information cheaply.
- Spike: a time-boxed experiment to answer a specific question (“Does the relational database’s full-text search return results within 1 second with 50,000 items?”).
- Prototype: a thin, throwaway or evolutionary implementation of the riskiest path (the import pipeline).
- Measurement: run the experiment with realistic data and record the result as evidence in the decision record.
State the question, the success criteria, and the time box before you start; otherwise a spike becomes a project.
6. Biases to Watch For
| Bias | How it shows up |
|---|---|
| Resume-driven design | Choosing technology to learn or to impress |
| Hype following | Adopting what large companies use regardless of context |
| Anchoring | First idea dominates all later comparisons |
| Sunk cost | Defending a design because of effort invested |
| Confirmation bias | Seeking only evidence that supports the favorite option |
| Over-engineering | Designing for scale or flexibility that is never needed |
| Not-invented-here | Rebuilding commodity capabilities |
Counter them by requiring written alternatives, naming conditions under which you would change your mind, and inviting review from someone who disagrees.
7. Use AI as a Devil’s Advocate
AI is good at generating counterarguments without social friction. Use it to stress-test your reasoning.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Act as a skeptical principal architect reviewing a decision.
Decision: [state the decision]
Drivers and scenarios it must satisfy: [paste]
Alternatives considered: [paste]
Our reasoning and evidence: [paste]
Tasks:
1. Give the strongest argument against our decision.
2. Identify assumptions we have not tested and how to test each.
3. Identify what we are trading away that we have not acknowledged.
4. Describe a scenario in which this decision would become a serious
mistake within two years.
5. Suggest the cheapest experiment that would reduce the largest
uncertainty.
Be specific to our context. Do not offer generic advice.
You are not obliged to follow its advice. Decide whether each point is valid in your context, and record the answer. Beware the opposite failure: AI tends to agree with a confident presentation, so always ask for the argument against.
8. Cost as a Quality
Include cost explicitly:
- Infrastructure and managed services costs at expected scale.
- Engineering effort to build and maintain.
- Operational load (on-call, upgrades, security patching).
- Cost of change if the decision proves wrong.
Estimates should include ranges and assumptions. A cheaper design that the team cannot operate is not cheaper.
9. Practical Exercise
For SignalDesk:
- Pick three significant decisions (for example style, tenancy model, search approach) and build a weighted decision matrix for each, with written reasons for each score.
- Classify each decision as one-way or two-way, and note which need a spike.
- Run a lightweight evaluation: walk your top six quality scenarios against the architecture and record risks, non-risks, sensitivity points, and trade-off points.
- Design and, if practical, run one spike (for instance search performance at 50,000 items) with pass/fail criteria. Record the result.
- Run the devil’s advocate prompt on your most important decision.
- Build the architecture risk register with owner and mitigation per risk.
Verification
You are ready to continue when:
- Each major decision has at least two real alternatives with written criteria.
- One-way-door decisions have evidence or a planned experiment.
- Risks are ranked and linked to scenarios and mitigations.
- At least one decision was changed or refined as a result of challenge or evidence.
- Costs are included in the comparison.
Key Takeaways
- Make trade-offs visible with criteria, reasons, and sensitivity.
- Treat one-way doors with more care than two-way doors.
- Evaluate the design against scenarios and gather evidence through spikes.
- AI is a useful devil’s advocate; the decision and its consequences remain yours.
What’s Next?
Decisions that live only in someone’s head are lost when the team changes. Next, we record them as Architecture Decision Records.