Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Lesson 1 of 6 · Concept · 15 min · revision 1

What makes a decision architectural: reversibility and blast radius

Tell architecturally significant decisions from local ones with two tests, the cost of undoing them and how far their effects reach, and match the amount of process to the answer.

Contentsand lesson path

What you will learn

  • Distinguish architecturally significant decisions from local ones, using cost of reversal and blast radius as tests.

01. Why it matters

Every working day a team makes dozens of design decisions: what to call a class, which library parses dates, where a new table lives, how two services talk. Most of them can be changed later in one pull request, and a meeting about them wastes everyone's time. A few of them shape the system for years. Once data, other teams or customers depend on them, changing them takes weeks or months, and a wrong call hurts people far beyond the team that made it.

The skill in this lesson is telling the two kinds apart early, while the decision is still cheap. Teams that cannot do this fail in one of two ways. Either everything goes through an architecture review and delivery slows down, or nothing is written down and, two years later, nobody knows why the system stores local times or why three services share one database. Michael Nygard's 2011 article, which made decision records popular, describes the second failure well: a newcomer who finds an unexplained decision can only accept it blindly or reverse it blindly, and both are risky.

You will use two tests, the cost of reversal and the blast radius, to decide which decisions deserve an architecture decision record (ADR): a short document that records one decision with its context and consequences. Later lessons show how to compare the options and how to write the record.

02. Architecture is the decisions that are expensive to change

There is no single agreed definition of software architecture, but most working definitions point at the same thing. Martin Fowler's architecture guide quotes Ralph Johnson: architecture is the decisions you wish you could get right early in a project, or simply "the important stuff. Whatever that is." Nygard is more concrete: a decision is architectural when it affects the structure, the non-functional characteristics (such as performance or availability), the dependencies, the interfaces or the construction techniques of a system.

Notice what these definitions do not say. They do not say that databases, frameworks and brokers are architectural and everything else is not. The same kind of choice can be local in one place and significant in another. A naming rule for private methods is local. A naming rule for the fields of a public webhook payload is significant, because code in other companies reads those names.

Olaf Zimmermann lists further signals that something is architecturally significant: high business value or risk, a concern of an important stakeholder such as an auditor, unusual quality targets, external dependencies you do not control, effects that cut across many parts of the system, first-of-a-kind work, and areas that caused trouble before. These are useful prompts in a review. The two tests below are a quick way to apply them to a single decision.

03. Test 1: what would it cost to undo?

In his 2015 letter to Amazon shareholders, Jeff Bezos separates one-way doors, decisions that are consequential and nearly irreversible, from two-way doors, which you can walk back through if you do not like what you find. His point is that most decisions are two-way doors and should be made quickly by small groups, while one-way doors deserve care and consultation. The mistake is to treat every decision the same way.

To estimate the cost of reversal, imagine you made the decision six months ago and now want to undo it. List what you would have to change:

  • Code that calls the chosen thing directly. This is often the smallest part, especially when the calls sit behind one module.
  • Data written in the chosen format or store. Rows, files and events that already exist must be migrated, converted or kept readable, often while the system keeps running.
  • Contracts that others depend on: API shapes, event schemas, file formats, identifiers that other systems have stored.
  • People and money: skills the team built, licences or contracts signed, hardware bought, runbooks written.

The cost usually grows with time. A database chosen last week can be swapped in a day; after a year of production data, the same swap is a migration project. So the test asks what undoing the decision would cost after things depend on it, not how much effort it takes to make.

04. Test 2: how far do the effects reach?

Blast radius is a term from operations, where it means how much of a system one failure can damage. For a decision, it means who has to change, migrate or re-test if the decision turns out to be wrong. A useful scale has four steps: one module, one team, several teams, and people outside the company such as customers or partners.

The two tests are related but not the same. Changing the default timeout of a shared HTTP client is quick to undo, since it is one line of configuration, but a bad value can break calls in every service that uses the client. Moving one team's search index from network disks to local SSDs affects only that team, but undoing it means rebuilding indexes and rewriting the recovery runbook, which takes weeks.

When either test comes out high, the decision is significant enough to record. When both are high, it is a one-way door with a wide reach, and the people affected should be heard before it is made, not told afterwards.

05. Putting the two tests together

The short TypeScript script below turns the two tests into a triage rule. It is not an authority, since the thresholds are judgements, but writing the rule down makes a team's habits visible and easy to argue about. It runs on Node.js 22.18 or later, which runs TypeScript files directly by removing the type annotations.

TypeScript · triage.ts
// Sort decisions by cost of reversal and blast radius (Node 22.18+ runs .ts directly).
type Reversal = 'hours' | 'days' | 'weeks' | 'months';
type Reach = 'one module' | 'one team' | 'several teams' | 'outside';

interface Decision {
  title: string;
  reversal: Reversal; // effort to undo it once code and data depend on it
  reach: Reach; // who must change, migrate or re-test if it is undone
}

const REVERSAL: Record<Reversal, number> = { hours: 0, days: 1, weeks: 2, months: 3 };
const REACH: Record<Reach, number> = {
  'one module': 0,
  'one team': 1,
  'several teams': 2,
  outside: 3,
};

function triage(d: Decision): string {
  const hardToUndo = REVERSAL[d.reversal] >= 2;
  const wideReach = REACH[d.reach] >= 2;
  if (hardToUndo && wideReach) return 'ADR, with advice before deciding';
  if (hardToUndo || wideReach) return 'ADR in the owning repository';
  return 'decide in the pull request';
}

const decisions: Decision[] = [
  { title: 'Split PriceCalculator into two classes', reversal: 'hours',
    reach: 'one module' },
  { title: 'Retry library for the email worker', reversal: 'days', reach: 'one team' },
  { title: 'Search index on local SSDs, not network disks', reversal: 'weeks',
    reach: 'one team' },
  { title: 'Default timeout of the shared HTTP client', reversal: 'hours',
    reach: 'several teams' },
  { title: 'Store every timestamp in UTC', reversal: 'months', reach: 'several teams' },
  { title: 'Field names in the merchant webhook payload', reversal: 'months',
    reach: 'outside' },
];

for (const d of decisions) {
  console.log(`${triage(d).padEnd(34)}${d.title}`);
}
Terminal
node triage.ts
Expected output
decide in the pull request        Split PriceCalculator into two classes
decide in the pull request        Retry library for the email worker
ADR in the owning repository      Search index on local SSDs, not network disks
ADR in the owning repository      Default timeout of the shared HTTP client
ADR, with advice before deciding  Store every timestamp in UTC
ADR, with advice before deciding  Field names in the merchant webhook payload

The three outcomes call for three levels of process:

  • Decide in the pull request. Cheap to undo and narrow in reach: the code review is the record. An ADR for each of these would fill the log with noise and hide the decisions that matter.
  • ADR in the owning repository. One test is high. The owning team writes a short record and reviews it like code. For the shared timeout, the record tells every team what changed and why; for the search index, it tells future team members why the runbook looks the way it does.
  • ADR, with advice before deciding. Both tests are high. Someone still owns and makes the decision, but first asks the affected teams and people with expertise for advice and records it, as in the advice process that Andrew Harmel-Law describes. Some organisations use a written request for comments (RFC) for this step.

Two habits make the triage work better. First, look for ways to make a decision cheaper to reverse, or narrower, before you make it: store data in an open, documented format, keep calls to a product behind one module, roll a change out to a few tenants before all of them. Each of these can move a decision down a level. Deciding when to decide is a topic of its own, covered in evolutionary architecture. Second, run the triage again when things change. A file format that one team uses becomes significant on the day a second team starts reading it.

06. Check your understanding

Practice check · 2 questions

Significance check

Two scenarios: apply the cost-of-reversal and blast-radius tests.

Q1. The claims team alone owns a service that must keep signed claim documents readable for seven years, as regulation requires. They are choosing the file format and storage layout for this archive. No other team reads it. How should the decision be handled?
Q2. A service has stored order timestamps as local time without a time zone for four years. A developer says moving to UTC is a one-line change to an ORM setting. What most likely dominates the real cost of reversal?
Practice only: not graded, not saved, not evidence.

07. Apply it

Take the last 15 merged pull requests or design discussions of a repository you know. For each, write one line with the decision, your estimate of its cost of reversal (hours, days, weeks or months) and its blast radius (one module, one team, several teams or outside). Run them through the rule in triage.ts, and change the thresholds if your team disagrees with them.

Pick the two decisions that came out highest. They are your first candidates for the four ADRs that the practice project for this skill asks for: a technology choice, a structural decision, a rejected proposal and one that supersedes an earlier record. Keep the list: the next lesson shows how to compare the options for a decision, and lesson 3 how to turn it into a record.

08. Review prompt

Without looking back: name the two tests, and give one example where each comes out high while the other is low. Explain why the cost of reversal usually grows with time, list four kinds of thing you would have to change to undo a decision, and say which level of process each of the three triage outcomes calls for.

References

Your progress

Reading state

Sign in to save that you finished reading this lesson.

Sign in to mark reading complete

Prove this skill

8 questions · about 6 minutes · scored automatically. Marking a lesson as read never demonstrates a skill.
Take the skill check