Book Deep Read · Fundamentals of Software Architecture · Chapter 4
Fundamentals of Software Architecture · Ch 4 · Mark Richards & Neal Ford · 2020
Open a food-delivery app and order dinner. The requirements doc says "browse dishes, place an order, pay." Nobody writes "must not freeze when millions of people order at 6 p.m.," "payment must never go wrong," or "adding group-buying next year should be easy." Those unwritten demands often shape a system's skeleton more than the written features do. Chapter 4 gives them names and boundaries.
The owner says "three bedrooms, two living rooms" — that's the feature list. But if the house sits on a fault line it must survive earthquakes; up north it must stay warm; if a floor might be added later, the frame must carry the load. The owner may never say any of it, yet the architect has to think of it — and those choices change the foundation and beams, not something you fix with a coat of paint. The book calls these "how to build it" demands architecture characteristics.
Everyone uses these words daily: fast, stable, scalable, secure. Yet "fast" means one quick response to one person and many people served at once to another. With no shared dictionary, meetings turn into people talking past each other. Worse, some demands are never voiced at all because they feel obvious — a bank must be secure, a stock-trading system must be fast.
The book offers a sieve. To count as an architecture characteristic, a demand must pass three gates at once: it is not the business feature itself; it changes the system's skeleton; and it truly matters to success. Take payments: hand them to an outside payment service and ordinary care is enough; handle the money yourself and you must wall off a separate part just to guard it — only the second changes the skeleton.
What passes the sieve falls roughly into three families: how it runs (is it up, is it fast, does it cope with crowds), how it's built (easy to change, extend, install), and what cuts across everything (security, privacy, legal rules, accessibility).
The key lesson: these qualities pull against each other. The tighter the locks, the slower the system — like flying a helicopter, where each hand and foot works a different control and moving one shifts all the others. So don't chase "best at everything"; aim for the combination that is least bad for this particular business. One honest caveat: the book's list is only a starting point — each team still has to agree on what the words mean.
Features decide what a system does; architecture characteristics decide how it stays standing. They pull against each other, so pick only the few that truly matter and aim for "least worst," not "best."
Want the three criteria, implicit vs. explicit, the operational / structural / cross-cutting lists and the ISO definitions? → Switch to Deep
You think "nonfunctional requirements" are extras bolted on after the features — in fact they decide the skeleton. FoSA Chapter 4 renames them architecture characteristics, separates them from domain requirements and ordinary design with three criteria, distinguishes implicit from explicit ones, offers operational, structural and cross-cutting lists — and ends on the punchline that characteristics constrain each other, so an architect can only aim for the least worst architecture.
Chapter 4 of Part I, "Foundations," opening a four-chapter thread on characteristics: this chapter defines them; Chapter 5 shows how to dig them out of requirements; Chapter 6 covers measuring and governing them; Chapter 7 their scope. In practice: the "why this architecture" page of a design review, and the "nonfunctional requirements" follow-up in interviews.
Chapter 1 defined architecture as structure + architecture characteristics + decisions + principles. The trouble is that "characteristics" is a mess of vocabulary: some call them nonfunctional requirements, others quality attributes. The authors dislike both — the first is self-denigrating, sounding like "not a feature, so not important"; the second sounds like an after-the-fact quality assessment rather than a design input.
What goes wrong if you don't fix this? Two classic failures. One is omission: the requirements doc is full of features, nobody writes "Black Friday peak" or "payments must never be lost," and after launch the skeleton can't cope — and skeletons are almost impossible to retrofit. The other is greed: wanting every "-ility" and ending up with a generic monster that tries to support everything and does nothing well. This chapter fixes the vocabulary and boundaries first, so Chapter 5's "which ones to pick" has ground to stand on.
The book's definition: a requirement is an architecture characteristic only if it meets all three criteria —
The criteria earn their keep by exclusion: "the UI should look nice" doesn't change the skeleton — it's a design issue; "support refunds" is a domain requirement; "consistent log format," if not critical, shouldn't be promoted to an architecture characteristic.
Explicit characteristics appear in the requirements doc or specific instructions, such as "support 100,000 concurrent users." Implicit characteristics rarely get written down yet are necessary for success: availability, reliability and security are nearly always among them — no business stakeholder writes "please don't get hacked." Some implicit ones are domain-specific: the book cites a high-frequency trading firm, where architects must design every system for low latency because milliseconds are money, while architects in other domains never need that level. This is exactly why architects need domain knowledge: implicit characteristics can only be "heard" by someone who understands the business.
The book stresses that the list can never be complete — teams and industries invent their own characteristics. But it groups the common ones into three families:
For the easily confused operational characteristics, the book's working definitions: availability — how long the system must be available, and if 24/7, steps to get it running quickly after a failure; continuity — disaster recovery capability; recoverability — business continuity requirements, e.g. how quickly the system must be back online after a disaster, which drives backup strategy and duplicated hardware; reliability / safety — whether the system must be fail-safe, whether it is mission critical in a way that affects lives, whether failure would cost the company large sums; robustness — handling errors and boundary conditions while running, such as a lost internet connection or a power outage; scalability — continuing to operate as users or requests grow. Performance is more than "fast": the book lists stress testing, peak analysis, analysis of how often functions are used, capacity and response times, and warns that performance acceptance can be a project of its own taking months.
Turning "nines" into numbers makes it concrete: 99.9% allows about 8.8 hours of downtime a year, 99.99% about 53 minutes, 99.999% about 5 minutes. Each extra nine shrinks the allowance tenfold while the redundancy, automated failover and drills behind it grow steeply — which is why availability "changes the skeleton."
Structural characteristics concern the code itself: configurability (can end users easily change configuration through usable interfaces), extensibility (how important it is to plug in new functionality), installability, reuse (can components be shared across products), localization (multiple languages, currencies, units of measure), maintainability (how easy it is to apply changes and enhancements), portability (must it run on more than one platform or database), and upgradeability (can old versions be upgraded quickly and easily).
Cross-cutting characteristics don't fit a single bucket: accessibility (users with color blindness or hearing loss), archivability (when data must be archived or deleted), authentication, authorization, legal, privacy (hiding transactions even from internal DBAs), security (encrypt data in the database? encrypt internal network traffic?), and usability (how much training users need to reach their goals).
The same word means different things to different teams. The book offers three layers of defense. First, lean on the ISO (International Organization for Standardization) quality model, which breaks characteristics into finer parts by function — e.g. performance efficiency = time behavior + resource utilization + capacity; reliability = maturity + availability + fault tolerance + recoverability; maintainability = modularity + reusability + analyzability + modifiability + testability. ISO's "functional suitability" (completeness, correctness, appropriateness) the book explicitly says is not an architecture characteristic — it is the very motivation for building the software.
Second, beware composite characteristics: words like "agility" or "reliability" bundle several smaller characteristics and must be decomposed before they can be discussed or measured (Chapter 6 goes further). Third, organizations invent their own. The book's anecdote: after one client suffered a serious communications outage involving Italy, it demanded that every architecture support "Italy-ility" — in practice a specific mix of availability, recoverability and resilience. The lesson: names can be anything, but the definition must be shared inside the team, ideally in a single ubiquitous glossary.
Why can a system support only a few? Two reasons. Each characteristic needs design effort and perhaps structural support. More fundamentally, characteristics are interconnected. The book's example: improving security almost certainly hurts performance — more on-the-fly encryption and more indirection for hiding secrets all cost time. Its metaphor is the helicopter: pilots struggle to learn because each hand and each foot works a control, and changing one affects the others, so they must be coordinated together.
Hence the chapter's most quoted line: never shoot for the best architecture, but rather the least worst architecture. Too many characteristics produce generic solutions that try to solve every business problem; such designs become unwieldy and rarely work. The companion advice: since choosing right the first time is hard, make the architecture as iterative and easy to change as possible — when change is cheap, a wrong first choice costs less.
Table 1 · Running candidates through the three criteria
| Candidate | Nondomain? | Shapes structure? | Critical? | Verdict |
|---|---|---|---|---|
| Third-party payments | Yes | No — normal security hygiene | Yes | Design issue; don't promote |
| In-house payments | Yes | Yes — isolate into its own module / service | Yes | Characteristic (security) |
| "Support refunds" | No — a business feature | — | — | Domain requirement |
| Trading-firm low latency | Yes (implicit) | Yes — affects deployment and communication | Yes | Characteristic (performance) |
| Multi-language internal tool | Yes | Maybe | No | Don't promote yet; keep as a design option |
Table 2 · Three families: where they land and what they cost
| Operational | Structural | Cross-cutting | |
|---|---|---|---|
| Asks | Is it up, fast, able to take load? | Is code easy to change, extend, install, port? | What must the whole system obey together? |
| Typical structural moves | Redundant replicas, failover, caching, headroom | Module boundaries, plug-in points, config layer | Central auth gateway, encryption, audit logs |
| Cost | Hardware and ops spend; consistency gets harder | Up-front abstraction; over-engineering risk | Drags performance and usability; changes ripple everywhere |
| If missed | Outage at peak; retrofitting redundancy is expensive | Every requirement change hurts | Regulatory fines, data breaches |
Table 3 · The price tag of each extra nine of availability (per year)
| Target | Yearly downtime budget | Structure usually needed | Fits |
|---|---|---|---|
| 99% | ~3.65 days | Single instance + backup / restore | Internal reports, back-office tools |
| 99.9% | ~8.8 hours | Multiple instances + load balancer + primary/standby | Most consumer products |
| 99.99% | ~53 minutes | Multi-zone, automated failover, canary releases | Payments, core transaction paths |
| 99.999% | ~5 minutes | Multi-region, full automation, continuous drills | Telecom-grade, a few infrastructure services |
Table 3 is the quantified form of the third criterion, "critical to success": which nine to target is a business decision, not a technical flex — an internal tool chasing 99.99% is paying structural tax on a characteristic that isn't critical.
"State priorities explicitly and accept sacrifices between characteristics" isn't an idealization from the book; some of the industry's best-known systems did exactly that.
p99.9 rather than the average. A textbook case of picking the critical characteristic, reshaping structure around it, and accepting the sacrifice of another. DeCandia et al., "Dynamo: Amazon's Highly Available Key-value Store," SOSP 2007In reviews and interviews: asked "why this architecture?", a strong answer doesn't list technologies — it starts with "the three characteristics that matter most here are X, Y and Z, and we sacrificed W for them." Chapter 5 covers how to find those three in the requirements.
① Architecture characteristics are the success criteria for how a system stays standing — peers of the domain requirements that say what it does, and they decide the skeleton.
② All three criteria are required: nondomain design consideration, influences structure, critical to success.
③ Payments: a third-party processor doesn't qualify; in-house processing that must be isolated into its own module does.
④ Explicit ones are written in requirements; implicit ones aren't — availability, reliability, security, plus domain-specific ones like trading latency.
⑤ Three families: operational (availability, performance, recoverability, scalability…), structural (maintainability, extensibility, portability…), cross-cutting (security, privacy, legal, accessibility…).
⑥ The list is intentionally incomplete; decompose composites; keep one shared team definition, anchored on ISO.
⑦ Characteristics constrain each other — security drags performance — like a helicopter's controls.
⑧ Pick only the few critical characteristics, aim for "least worst" not "best," and keep the architecture easy to iterate so wrong choices are cheap.
⑨ Interview line: "what matters most is X, Y, Z, and we sacrificed W for it" beats listing technologies.