Book Deep Read · Fundamentals of Software Architecture · Chapter 16
Fundamentals of Software Architecture · Ch 16 · Mark Richards & Neal Ford · 2020
Twenty years ago, many banks and insurers spent fortunes building systems in a style called service-oriented architecture (SOA). Almost nobody builds new ones that way today. The book gives it a whole chapter anyway, not as a recommendation but as a mirror: it shows how an idea that sounds completely right can slowly turn a system into something nobody dares to touch.
Picture a big company that rules: no department may build its own parts; everyone uses the standard parts from the head-office warehouse. Departments may not call each other directly either. Every call goes through a central switchboard, whose operators also translate each department's jargon and confirm that each job was finished. It sounds thrifty and tidy.
This was the late 1990s. Companies kept merging and growing, and software licenses and servers were priced per machine and very expensive. The natural thought was: build each capability once and reuse it everywhere, and save a lot of money.
The system is split into layers. At the top are the things the business says it does, such as "place an order". Below sit shared parts such as "create customer" and "calculate quote", looked after by a dedicated team. Further down are small tools for single departments and company-wide back-office help like logging and permission checks. In the middle sits the big switchboard: every request passes through it, and it assembles the parts into one finished job.
Take the "customer" part. Car insurance wants driving licence details, life insurance wants health details, and every department keeps adding fields, so it keeps getting fatter. Change one thing and every department must test and release together, while the switchboard team becomes the one door every change has to queue at. To be fair, it did carry large systems in its day; it just got harder and harder to change.
Orchestration-driven SOA = shared parts for the whole company + one big switchboard that assembles everything: reuse chased to save money ends with every part tied to everyone, because the flip side of reuse is coupling.
Want the four kinds of services, what the orchestration engine (the ESB) actually did, why the Customer service kept growing, what technical partitioning looks like at its extreme, and the root disagreement with microservices? → Switch to Deep
You think reuse is always a virtue; in fact the flip side of reuse is coupling. Orchestration-driven service-oriented architecture made enterprise-wide reuse its highest goal: classify services by technical layer, then stitch them together with a central orchestration engine. FoSA Chapter 16 covers its structure, why it was born in its era, and why it was finally dragged down by the very reuse it pursued, a lesson that directly shaped microservices.
The seventh style in Part II, "Architecture Styles", following space-based architecture (Chapter 15) and leading into microservices (Chapter 17); many microservices choices are a deliberate reaction to this one. Real-world counterpart: the bus-centred integration platforms of 2000s banks, insurers and telcos.
The chapter opens with a principle: an architecture style must be understood in the context of the era in which it evolved, and this style is the clearest example. In the late 1990s, enterprises were growing fast through mergers and needed more sophisticated IT to tie their business lines together. Meanwhile operating systems and commercial databases were licensed per machine, hardware was expensive, and open source had not yet entered the enterprise mainstream.
Under those constraints the natural conclusion was that every duplicated feature and every extra machine cost real money. So architects set enterprise-level reuse as the goal: build capabilities like "create customer" or "calculate quote" once and compose them across the company. The alternative looked concrete and costly: ten business systems, each with its own customer management and its own database licenses.
It deserves a chapter because it was a serious, expensive, large-scale failed experiment, and its lessons explain why today's microservices would rather duplicate code than share domain services.
The heart of the style is a service taxonomy: each layer has a clear responsibility and an owning team, and the orchestration engine in the middle coordinates them all. Every request, including service-to-service calls inside the system, passes through the engine.
PlaceOrder or ExecuteTrade. Defined by business users, they contain no code, only inputs, outputs and sometimes a schema. The book's litmus test: put "Are we in the business of…" in front of the name. "Are we in the business of placing orders?" works; "Are we in the business of creating customers?" does not, so that is a step, not a business service.CreateCustomer and CalculateQuote, owned by a shared services team. They are building blocks the engine composes into business services. This layer carried the dream of the whole style: build once, compose forever.The book is sober about "build once, use forever": construction materials stay the same for decades, but business, technology and engineering practice keep changing, so supposedly timeless building blocks do not last that long in reality.
The engine is usually an enterprise service bus (ESB) or integration hub. It does three things: composes enterprise services into business services; transforms messages between services' formats; and coordinates transactions, with transaction boundaries often declared in the engine rather than left to the database.
It is owned by a team of integration architects. Here the book invokes Conway's law (a system's structure copies the communication structure of the organization that builds it): since every call flows through the engine, every business change queues at this team's door, and the architectural hub becomes an organizational bottleneck.
The chapter's best-known example comes from an insurance company with several divisions, each with its own notion of "customer". The architects, reasonably enough, pulled them into one shared Customer enterprise service that every division calls.
Trouble follows. Auto insurance needs driving licence data, and a licence belongs to the person, not the car, so it has to go into Customer even though other divisions do not care. Every division adds things this way, and Customer becomes the union of all requirements: too complex for any single division, and any change requires every division to retest and coordinate a release.
From this the book draws the chapter's core lesson: reuse has two sides. The upside is less code; the price is binding every consumer together. Reuse at the domain level tends to buy coupling where touching one thing moves everything.
The book calls it perhaps the most technically partitioned general-purpose architecture ever tried: services are cut by technical role (business definition / shared blocks / app-specific / infrastructure) rather than by domain. As a result, a domain concept such as CatalogCheckout is scattered across business services, several enterprise services, orchestration rules and the database, spread so thin it is barely recognizable. Changing it needs several teams to coordinate; testing it needs the whole chain running. Beyond the monolith-vs-distributed split of Chapter 9, this is the cautionary example for the other split, technical vs domain partitioning, in the distributed world.
Table 1 · Orientation of three service styles (from Chapters 13, 16 and 17)
| Dimension | Orchestration-driven SOA | Service-based | Microservices |
|---|---|---|---|
| Primary goal | Enterprise reuse | Pragmatic split, keep ACID | High decoupling, independent evolution |
| Partitioning | Technical (layers by service type) | Domain (coarse-grained) | Domain (bounded contexts) |
| Flow control | Central engine, every call goes through it | Inside each service | Services autonomous, local orchestration when needed |
| Data | Shared database, shared domain services | Usually one shared database | Each service owns its data; duplicate rather than share |
| Main cost | Changes ripple everywhere; engine team is a bottleneck | Database is still a shared dependency | Duplicated code; distributed transactions are hard |
The core disagreement fits in one line: SOA sees duplication as waste to eliminate; microservices hold that coupling costs more than duplication. Both were right in their time, depending on what you were paying for.
Table 2 · When the constraints change, so does the conclusion
| Constraint | Late 1990s | Today |
|---|---|---|
| Software licenses | OS and databases licensed per machine, expensive | Open source everywhere; most infrastructure has no license fee |
| Machines | Long procurement; every extra box needs approval | Cloud on demand, billed by the second |
| Most expensive thing | Resources | People's time spent coordinating and changing |
| Sensible optimization | Maximize reuse, deploy less | Minimize coupling, change and release independently |
So this is not "the architects back then were foolish"; the optimization target moved with the constraints. The thing to learn is the reasoning: first see what is most expensive right now, then decide what to save.
The book's star ratings put it near the bottom almost across the board: deployability, testability, simplicity, evolvability and overall cost all get 1 star; scalability gets 4 and elasticity and fault tolerance 3, achieved through heavy engineering effort. It is technically partitioned, and although distributed it usually counts as a single architecture quantum, since the engine and the shared database tie all services together.
In an architecture review, the chapter hands you questions to ask directly: how many callers does this shared service have? How many teams must test together to change it? Does business logic live in the services, or in a gateway, bus or orchestration rules? In an interview, asked "why do microservices discourage sharing domain code?", you can answer: "SOA tried enterprise reuse; shared services became the union of every requirement and every change needed everyone to coordinate. Microservices therefore prefer duplication, trading repetition for independent evolution."
① Understand a style in the context of its era: expensive per-machine licenses and hardware in the late 1990s drove the goal of enterprise reuse.
② Four kinds of services: business (interface only, no code), enterprise (shared building blocks), application (one-off), infrastructure (operational concerns).
③ Business-service litmus test: "Are we in the business of…?"
④ The orchestration engine (ESB) handles composition, message transformation and transactions, and every call passes through it; by Conway's law its team becomes the company's bottleneck.
⑤ The insurer's Customer service: a shared service becomes the union of every requirement, so one change means everyone retests and releases together.
⑥ Core lesson: the flip side of reuse is coupling, and domain-level reuse is especially dangerous.
⑦ Technical partitioning at its extreme scatters one domain concept across layers and teams, making it hard to test and release.
⑧ Ratings: deployability, testability, simplicity, evolvability and cost 1 star; scalability 4; elasticity and fault tolerance 3.
⑨ Interview line: "SOA chased reuse through central orchestration and got global coupling; microservices go the other way and choose duplication to stay decoupled."