Book Deep Read · Fundamentals of Software Architecture · Chapter 16

Orchestration-Driven SOA: How Reuse-Above-All Became Coupling-Above-All

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

中文 →

What is this chapter about?

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.

An analogy: one set of standard parts for the whole company

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.

Why people did it back then

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.

How it runs

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.

Where it goes wrong

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.

Remember it in one line

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