Service Boundaries
How many services, and where the seams go. The decision that is hardest to reverse, and the one every architect gets judged on.
Units on this floor
- Where a service ends5.01 · 14 min
Every tier so far has quietly assumed an answer to a question nobody asked. Tier 2 designed the inside of one service. Tier 4 ran many copies of that one service. But how many different…
- The distributed monolith5.02 · 13 min
There is a failure mode that gets almost no airtime because it looks, on the architecture diagram, exactly like success. Twelve services. Twelve repositories. Twelve pipelines. Everyone…
- The shared database, and how to unpick one5.03 · 15 min
The most common architecture in the working world is not a monolith and it is not microservices. It is several applications, sometimes owned by several teams, all pointed at one database…
- Anti-corruption layers5.04 · 12 min
Some of the systems you must integrate with are not yours and never will be: a payment provider, a KYC vendor, a courier's tracking API, the mainframe that has run settlement since 1998…
- Monolith first, and the cost of splitting early5.05 · 13 min
Four lessons of how to find a boundary. Now the harder question: when. And the honest answer is later than almost anyone wants to hear, for a reason that has nothing to do with taste and…