The distributed monolith
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 says "we're on microservices now." And every release goes out as one coordinated event, on a Thursday, with a spreadsheet and a war room.
That is a distributed monolith: services that must be deployed together. You have paid every cost of distribution and collected none of the benefit. It is strictly worse than the monolith you started with, because the monolith at least deployed in one step and could be debugged in one stack trace.
The only definition that matters
Forget service counts, repo counts and container counts. There is one honest metric:
Can you deploy this service to production, alone, at 4pm on a Friday, without telling another team?
If yes, it is a service. If no, it is a module with extra latency. Independent deployability is not a nice property of microservices — it is microservices. Everything else is packaging.
The symptom list
Read these as diagnostics. Any two of them and you should stop adding services and start fixing seams.
- Lockstep releases. Version 4.2 of everything ships together, because nobody is sure which combination actually works.
- The shared library that everyone must upgrade at once. More on this below — it is the most common single cause.
- You cannot test anything without a full integration environment, there is one of them, and it is booked.
- A one-field change requires three teams. Add a field to the order, and payments and shipping both need a coordinated release to cope.
- One service down means everything down. No degradation, no fallback — a hard, total outage from a single component.
- Rollback is a group activity. You cannot revert one service, because its neighbours have already moved on.
Cause one: the synchronous call chain
Service A calls B, which calls C, which calls D, all synchronously, all on the request path. Two things compound, and both are worse than intuition suggests.
Availability multiplies. Four services at a respectable 99.9% each, chained, give you 0.999⁴ ≈ 99.6% — from nine hours of annual downtime to about thirty-five. You didn't add reliability by splitting; you multiplied fragility.
Latency adds, and tails dominate. Each hop's p99 lands in the caller's total. Tier 9 called this tail amplification; here is where the tail comes from. Four hops of 50 ms p99 is a 200 ms floor before your own code does anything.
And a deploy dependency comes free with each hop: D cannot change its response shape without C's agreement, and so on up the chain.
A ──▶ B ──▶ C ──▶ D availability 99.9%⁴ = 99.6%
latency = sum of every hop's tail
deploys = coordinated, always
The fix is not "fewer services". It is fewer synchronous hops. Ask of each call: does the caller genuinely need the answer before it can reply to the user? Very often it does not — it needs the work to happen, not to have happened yet. That call becomes an event, the chain becomes one hop deep, and both the availability product and the deploy coupling disappear with it. Tier 6 gives you the machinery.
Cause two: the shared library
This one arrives disguised as good engineering. Three services need the same customer model, so you extract common-domain and everyone depends on it. Sensible. Six months later it holds the domain objects, the auth helpers, the database wrapper and the enum every service switches on — and a change to any of it means recompiling and redeploying the fleet. You have re-coupled at the source level what you decoupled at the network level, which is the more expensive place to be coupled.
The discipline:
- Share stable, generic things. A logging wrapper, a retry helper, a tracing shim. Things that change once a year and mean the same to everyone.
- Never share the domain model. If two services need "customer", they need their own customer — that is Lesson 5.01's bounded context, and duplication across the seam is the correct answer, not a smell.
- Additive only, and support N−1. If consumers can upgrade on their own schedule, the library is a dependency. If they must upgrade together, it is a deploy pipeline wearing a package manifest.
A blunt heuristic that has saved a lot of teams: a little duplication is cheaper than a little coupling, and it is very much cheaper than a fleet-wide deploy.
Cause three: the contract that never versioned
Tier 1 taught schema evolution and you may have filed it as an API-design nicety. It is the load-bearing wall of independent deployability. If a producer cannot add a field without breaking consumers, then producer and consumer must ship together, and you are back in the war room. Compatible-by-construction contracts — additive changes, optional fields, unknown fields ignored, one release of overlap — are what let two teams move at different speeds. Without them, no amount of separate repositories will make the services independent.
Digging out
You rarely get to redraw the whole thing. What works, in order:
- Find the chain. Distributed tracing (Tier 9) shows you the real call graph, which is reliably worse than the one on the wiki.
- Make the non-essential hops asynchronous, starting with the deepest. Each one removed is a multiplied availability term deleted.
- Version the contracts so producers stop waiting for consumers.
- Break the shared domain library, letting each service own its own copy of the model.
- Merge services that will never separate. Two services owned by one team, always deployed together, sharing a model — that is one service with a network call inside it. Deleting a boundary is a legitimate, underused architectural move.
Reporting progress in service count. "We're up to thirty microservices" describes an amount of operational surface, not an amount of architecture — thirty pipelines, thirty dashboards, thirty on-call surfaces, thirty ways to be paged. The number worth reporting is how many of them shipped to production this week without coordinating with anyone. If that number is zero, you have one system with thirty deployment units, and every new one you add makes Thursday worse.