My account

Architecture Review and Risk

A design is a bet. A review checks the bet before it gets expensive. Walk the design through your top quality scenarios and write down four things: risks, non-risks, sensitivity points and trade-off points. Rank the risks by likelihood and impact, and give each big risk an owner and a plan. Choose a light review for small decisions and a deeper one for big, risky systems.

Not reviewedWritten with AI helpReading time: 12 minOnline shop exampleRisk matrixLight and deep reviews

Author: bezzad

Contents

The problem: we found out on launch day

Our online shop moved to a new design before the big yearly sale. Everyone liked the diagrams. On the first morning of the sale, the single orders database hit 100% CPU, checkout took 40 seconds, and the team spent the day adding servers by hand.

Afterwards someone said: “We knew the database was the weak point.” Some people knew. Nobody wrote it down, nobody measured it, and nobody owned it.

A review would not make the design perfect. It would make the weak point visible, measured and owned before the sale.

The idea: check the bet against the scenarios

Every architecture is a set of bets: “one database is enough”, “the cache will hide the slow service”. A review takes the design and the quality scenarios (see the lesson on architecture characteristics) and asks, for each scenario: does this design meet it, and how do we know?

The designstyles, diagrams, ADRsQuality scenarioswith numbersReviewwalk each scenarioRisk"One database may not hold the sale peak"Sensitivity point"Checkout speed depends on the cache size"Trade-off point"Encryption helps security, costs speed"Non-risk"Login can handle 10 times today's users"
A review turns a design and its scenarios into four kinds of findings.

The findings fall into four groups:

  1. Risk. A decision that may stop us from meeting a scenario. “One database may not hold the sale peak.”
  2. Non-risk. A decision that clearly meets a scenario. Writing these down tells people what they can stop worrying about.
  3. Sensitivity point. A setting or part where a small change moves a quality a lot. “Checkout speed depends on the cache size.” Watch these closely.
  4. Trade-off point. A decision that helps one quality and hurts another. “Encrypting every message helps security and costs speed.” These need a conscious choice, usually in an ADR.

How to run a scenario-based review

This is a light version of well-known methods such as ATAM (Architecture Tradeoff Analysis Method). The full method is bigger; this is enough for most teams.

  1. Present the business goals. Someone from the business explains why the system exists and what matters most this year.
  2. Present the architecture. The architect shows the context and container diagrams and the key ADRs. Twenty minutes, not two hours.
  3. Collect and rank scenarios. Stakeholders write scenarios with numbers (“at 20 times normal traffic, checkout answers in under 2 seconds”) and vote for the most important ones.
  4. Walk the top scenarios. For each one, trace it through the design: which parts take part, what can fail, what was measured. Write each finding in one of the four groups.
  5. Group the risks into themes. Ten small risks often share one cause, like “nobody owns capacity planning”. Themes are what you report to managers.
  6. Agree on next steps. Each big risk gets an owner, an action and a date.
Bring evidence, not opinions: The strongest answer in a review is a number: a load test result, a failover test, a cost estimate. “I think it will be fine” is a risk until someone measures it.

Not every review must be big

Checklist reviewabout an hourGo through a fixed list:logging, backups, security,timeouts, limitscatches the usual gapsPeer or expert reviewa few hours to a daySomeone experienced readsthe design and askshard questionsgood for one decisionScenario workshoptwo or three daysStakeholders rank scenarios,the team walks the designthrough each onefor big, risky systemsmore effort, more people, deeper findings
Choose the depth of the review by the cost of being wrong.
  • Checklist review. A fixed list (logging, backups, timeouts, security, limits) used on every new service. Cheap, and it catches the usual gaps.
  • Peer or expert review. An experienced person reads one design or ADR and asks hard questions. Good for one important decision.
  • Scenario workshop. The process above, with stakeholders, for big or risky systems: a new platform, a migration, a system that handles money.

A simple rule: the more expensive a mistake is to undo, the deeper the review.

Rank the risks

You cannot fix every risk. Rank them with two questions: how likely is it, and how bad is it if it happens?

highmediumlowrarepossiblelikelyLikelihoodImpactR1R2R3R4Shop risksR1sale peak breaks the databaseR2data center fire, no backup siteR3payment provider slowR4report page slow
Act now on the red cells. Watch the yellow ones. Accept the green ones and write that down.

For each risk, choose one answer:

  1. Reduce it. Change the design: add a read replica, a queue in front of the database, a second region.
  2. Avoid it. Remove the cause: do not build the risky feature this year.
  3. Transfer it. Let someone else carry it: a managed database with an SLA, insurance, a vendor.
  4. Accept it. It is cheap enough to live with. Write it down with a reason, so it is a decision and not an accident.

Keep a short risk list next to the ADRs: risk, rank, owner, action, review date. Look at it again at each big release.

Reviews as part of governance

Governance sounds heavy, but the goal is simple: important rules are followed, without slowing teams down. Light ways to do it:

  • Principles and guardrails written once (“each service owns its data”), checked by fitness functions where possible.
  • ADRs for big decisions, reviewed in pull requests by people from other teams.
  • An architecture forum that meets regularly, where teams bring designs early. It advises; the team still decides and owns the result.
  • A check on cost. Some decisions are mainly about money: build or buy, cloud bill, the cost of delay. Put a rough number on them; even a range like “20 to 40 thousand a year” helps the discussion.

Common mistakes

Mistake Result The right way
Review at the end, before launch Findings come too late to change anything. Review early, when the design is still cheap to change.
No scenarios, only opinions Long debates about taste. Scenarios with numbers decide what “good” means.
Only listing risks People lose trust in what does work. Also write non-risks, sensitivity and trade-off points.
Risks without owners The same list a year later. Owner, action and date for each big risk.
The review board says yes or no Teams hide designs or wait for weeks. Advise early and often; the team decides and writes the ADR.

Summary in six lines

  1. A design is a set of bets; a review checks them before they are expensive.
  2. Walk the top quality scenarios through the design.
  3. Write four kinds of findings: risks, non-risks, sensitivity points and trade-off points.
  4. Rank risks by likelihood and impact; reduce, avoid, transfer or accept each one.
  5. Every big risk gets an owner, an action and a date.
  6. Match the depth of the review to the cost of being wrong.

Done reading this lesson?Mark it as finished so it shows in your lessons list and report card.