Book Deep Read · Fundamentals of Software Architecture · Chapter 18
Fundamentals of Software Architecture · Ch 18 · Mark Richards & Neal Ford · 2020
The previous chapters were a tour of a car show: sedans, off-roaders, trucks, sports cars, each good at something. This chapter answers the last question: which one do I actually buy? In software terms: for a new system, say the online ordering app of a sandwich chain, or a live auction website, what overall "shape" should it take?
Fifteen years ago the advice was "the whole company shares one set of parts." Then it was "split everything into a hundred small services." Now some people say "one big block is actually fine." Nobody was stupid. The roads changed: tools got cheaper, businesses changed, and each generation's scars taught the next one something. So the book says: don't chase the fashionable model, look at your own road.
Every shape is a trade. The cheap one can't go fast; the one that survives huge crowds is expensive and complicated. None wins at everything. And the choice isn't only technical: it also depends on whether the team can drive it, what the budget is, and where the data already lives.
The book's method is like checking the road before picking the car, asking three questions in order.
First: is the whole system one kind of road? For the sandwich shop, everything from ordering to pickup has roughly the same needs, so one car is enough: build it as a single block. The auction site is different. The part where thousands of people watch and bid must be able to grow in seconds; the part where the auctioneer drops the hammer must never get it wrong. That's two kinds of road, so you split into several cars, each suited to its own.
Second: who keeps which ledger? A single block usually shares one ledger; once you split, you decide which ledger belongs to whom.
Third: how do the cars talk to each other? Call when you can, it's simple and direct. Leave a message only when the other side is swamped or doesn't need to answer right away.
The win: your choice has reasons you can explain to your boss and teammates, and write down for whoever comes next. The cost: this method doesn't produce one correct answer. Two careful architects can read the same requirements and pick different designs, both defensible.
Choosing an architecture = check the road, then pick the car: one kind of road, one car; several kinds, several cars; then decide who owns which ledger and how they talk. There's no best car, only the one that fits this road.
Want the seven forces behind architecture "fashion," the book's six kinds of decision criteria, the three-step decision path, and the full sandwich-shop and auction case studies? → Switch to Deep
You'd think choosing an architecture style means picking "the best one" out of eight. The book is blunt: the answer is always "it depends." FoSA Chapter 18 folds the previous 17 chapters into one decision path: use architecture quanta to decide monolith or distributed, then decide where data lives, then decide whether services talk synchronously or asynchronously. The output isn't a style name; it's a set of three: a topology, architecture decision records, and fitness functions.
The closing chapter of Part II, "Architecture Styles." Chapter 9 laid the foundations and Chapters 10–17 covered eight styles one by one; this chapter puts them back on a single decision table, and leads into Part III's "Architecture Decisions" (Chapter 19). In practice it maps to every new-system kickoff, and every architecture review that asks "should we move to microservices?"
After eight styles, the reader holds eight star-rated scorecards but no method for using them on real requirements. The two common failures are concrete. One is chasing fashion: "everyone is doing microservices," so a five-person team ends up running 40 services and spends most of its time on deployment pipelines and cross-service debugging. The other is defaulting to habit: you use what you know, and a system that must absorb 10x traffic spikes becomes a layered monolith that can only scale as a whole.
What the chapter offers is an explainable way to choose: which inputs to start from, what order to decide in, and what to hand over at the end, so that "why this style" can be restated, challenged, and recorded.
The book opens with a cold shower: the industry's preferred styles drift over time, not for aesthetic reasons but because conditions change. It lists several forces:
The lesson: judge a style by whether its preconditions hold for you today, not by how popular it is today.
The book lists the inputs an architect should have before choosing a style:
With the inputs in hand, the book gives an order for deciding:
Question one: monolith or distributed. Look through the lens of Chapter 7's architecture quantum. If a single set of architecture characteristics covers the whole system, a monolith is suitable (though other factors may still push you toward distribution). If different parts of the system need different characteristics, say one part needs extreme elasticity and another extreme reliability, you need a distributed architecture so each quantum can meet its own. This comes first because, as Chapter 9 showed, the moment you cross the network you sign the bill for the eight fallacies of distributed computing.
Question two: where does data live. A monolith usually uses one (or a few) relational databases. A distributed system must decide which services persist which data, and think through how data flows across the system. This question has to consider both structure and behavior.
Question three: synchronous or asynchronous between services. The book's default is synchronous by default, asynchronous when necessary. Synchronous calls are easier to design, implement, and debug. Asynchronous messaging has unique benefits for performance and scale, but brings a string of headaches: data synchronization, deadlocks, race conditions, and debugging. So reach for async only when you need to absorb spikes, decouple, or defer the reply.
Output: an architecture topology showing the chosen style (often a hybrid) and the quantum boundaries; architecture decision records for the decisions that took the most effort; and fitness functions protecting the important principles and characteristics so they don't quietly erode in later iterations.
For the monolith example the book reuses Silicon Sandwiches, an architecture kata that appears throughout earlier chapters: online ordering for a sandwich chain, with per-store promotions and menu customizations. Analysis shows a single quantum is enough, so two monolithic candidates are compared:
The point isn't which one wins. It's that the same requirements admit two reasonable monolithic answers, and the trade-off comes down to how heavy the customization needs are.
The second kata is an online auction platform, Going, Going, Gone: bidders watch a live video stream and bid online while a live auctioneer runs the sale. As Chapter 7 already showed, the characteristics clearly aren't uniform. The bidder-facing bid capture and streaming must survive unpredictable crowds, so it needs elasticity and scalability; auction sessions, bid tracking, and payment need reliability and correctness, because losing a single bid is an incident.
Since different parts need different characteristics, question one's answer is distributed. The book's design splits components into domain services forming several quanta, and buffers with asynchronous messages between steps like bid capture and bid tracking: however many people are watching, bids just queue up and the reliable side processes them at its own pace. The result is a hybrid of microservices and event-driven architecture, which is the reality the chapter wants readers to accept: most real systems are hybrids.
Put the star ratings of the previous eight chapters on one table and read it backwards from "which characteristic matters most" (details per each chapter):
Table 1 · Find a starting point from the most critical characteristic
| Care most about | Look first at | Price you pay |
|---|---|---|
| Low cost, simplicity, speed to ship | Layered, pipeline, modular monolith | Scalability, elasticity, fault tolerance mostly 1 star; scales only as a whole |
| Customizability, productization | Microkernel | Still a monolith; once the core bloats, plug-in contracts get hard to evolve |
| Independent deploys, pragmatically | Service-based | Shared database limits scaling and data isolation |
| Throughput, responsiveness, decoupling | Event-driven | Workflows hard to trace, errors hard to report, hard to test |
| Extreme elasticity, concurrency spikes | Space-based | Data collisions, eventual consistency, complex and costly |
| Independent evolution, scale per part | Microservices | Performance 2 stars, simplicity and cost 1 star |
Table 2 · Both ends of the three key decisions
| Decision | Signals for A | Signals for B | Book's leaning |
|---|---|---|---|
| Monolith vs distributed | One set of characteristics fits all | Parts need different characteristics | Decided by quantum analysis, not by fashion |
| Central vs spread data | Many strongly consistent transactions, small team | Quanta differ widely in load and storage needs | Monoliths usually centralize; distributed decides ownership one by one |
| Sync vs async | Need an immediate reply, short call chain | Absorb spikes, decouple, defer processing | Synchronous by default, async when necessary |
For a sense of scale: an in-process call typically takes well under a microsecond, a network round trip inside one data center about 0.5 ms. Chain six synchronous services into one request and you add several milliseconds of network alone, with tail latency compounding on top. That's why question one deserves real thought: if one set of characteristics is enough, staying monolithic is the cheapest choice.
This chapter is the hands-on version of the book's "everything is a trade-off," and it's the layer interviewers probe hardest after "how would you design this system": why this style and not another. Public records show choices in both directions that line up with the book's path:
In a review, three questions audit a design: "Which parts truly need different architecture characteristics?" "Who owns each piece of data?" "What does this async link buy, and is it worth the debugging cost?" In an interview, you can restate it as: "Identify the key characteristics, use quantum analysis to decide whether to distribute, then settle data ownership and communication; synchronous by default, async when necessary; record the reasoning in ADRs and guard the characteristics with fitness functions."
① There is no best style; the answer is always "it depends," a synthesis of characteristics, domain, and strategic goals.
② Architecture fashion drifts: past pain, ecosystem, new capabilities, domain and external factors all push. Judge by whether the preconditions hold today.
③ Decision criteria go beyond technology: domain, structural characteristics, data architecture, organizational factors, team and operational maturity, domain/architecture isomorphism.
④ Question one: does one set of characteristics fit the whole system? Yes means monolith; parts needing different ones means distributed.
⑤ Question two: where does data live. Question three: synchronous by default, async only when necessary.
⑥ The output is a set of three: a topology (often a hybrid), ADRs, and fitness functions.
⑦ Sandwich shop: one quantum, modular monolith and microkernel both defensible. Auction platform: several quanta, a microservices plus event-driven hybrid.
⑧ Interview line: "Set the key characteristics, decide monolith or distributed by quanta, then data and communication, and close with ADRs and fitness functions."