Book Deep Read · Fundamentals of Software Architecture · Chapter 20

Analyzing Architecture Risk: Turning "I'm a Bit Worried" into a Score You Can Rank

Fundamentals of Software Architecture · Ch 20 · Mark Richards & Neal Ford · 2020

中文 →

What is this chapter about?

You run an online shop and a big sale is coming next month. The boss asks the tech lead: "Where is it most likely to break?" The lead says: "Everything looks fine, I'm just a bit worried about the database." That answer is useless. How worried? More worried than about anything else? Should we spend money on it? This chapter is about turning that vague unease into something you can rank and take to the boss when you ask for a budget.

An analogy: the weather forecast

A forecast never just says "bad weather tomorrow". It tells you two things: will it rain, and how hard. A small chance of drizzle you ignore; a big chance of a storm cancels the trip. Judging a system works the same way: how likely is something to go wrong, and how bad is it if it does? Score each, combine them, and you know what to watch first.

Why the old way is hard

Risk used to be one architect's gut-feel list. Three problems: gut feelings can't be compared ("a bit worried" versus "quite worried"); one person always has blind spots; and the list goes into a drawer while the system keeps changing for three more months.

How it works

Move one is scoring: rate each worry low, medium or high on "how likely" and "how bad", and combine them into one score, like the red-amber-green lights on a medical report.

Move two is one big table: across the top are parts of the business, such as sign-up, checkout and shipping; down the side are the qualities you care about, such as coping with crowds, staying up, keeping data correct. Every cell gets a score, and the rows and columns that glow red jump out. A little arrow next to a cell shows whether it got better or worse since last time.

Move three is group fault-finding: send a diagram of the system to a few colleagues and ask each of them to put sticky notes on it alone first: "I'm worried about this bit", plus a score. Then everyone sticks their notes on one shared diagram. The most valuable spots are where scores disagree wildly: if one person gives the top score and everyone else gives a low one, that person knows something the others don't. Finally, agree on fixes, price them, and go talk to the boss.

What you get, and how to choose

Risk stops being one person's private anxiety and becomes a list the whole team can see, rank and track, and spending finally has a basis. It is not a one-off: when the system changes, do it again. The honest cost: the scores are still human guesses. It looks like maths, but it is really a structured conversation.

One line to remember

Analyzing architecture risk = score how likely times how bad, lay the scores out in one table, then have everyone look alone, compare together, and agree on fixes.

Want the exact scoring rules of the risk matrix, how the assessment table sums and shows trends, why each of the three risk-storming steps is designed the way it is, and the blind spot of multiplying scores? → Switch to Deep