How it works · 16 of 49 Core

What is a distributed monolith?

Services with none of the benefits

The distributed monolith: A distributed monolith is a system split into services that still have to change, test and ship together: a shared library, a shared schema or a chain of calls ties them, so a one-field change ships six services on one release night, and one failed deploy rolls all six back. It pays the network's costs (latency, partial failure, many pipelines) and keeps the monolith's lockstep. The test: can one team ship its service, today, without asking anyone?

Loading the animation…

Say it like this A distributed monolith is services that still have to ship together; if one team can't deploy its service today without asking the others, you have the network's costs and the monolith's lockstep.

Under the hood — for builders
The sources, in their words
DORA ("Loosely coupled teams", 2025): "many so-called service-oriented architectures don't permit testing and deploying services independently of each other." Microsoft ("Microservices architecture style"): "Sharing common libraries or dependencies between microservices creates tight coupling, which makes changes risky and widespread."
Four cuffs, and what opens each
Shared library: code every service imports, so a change to it is a change to all. Contract test: a test that checks one service still honours the API another expects, without running the other.
Why lockstep fails more
If each deploy succeeds 97 times in 100 (an assumption), a release that must ship n services together succeeds only 0.97ⁿ of the time, and one failure rolls back all n:
Simulated here: a year of releases
Six services, 250 working days; each team finishes a change on half of days; each deploy fails 3 times in 100 (assumptions). Cuffed: one weekly release night, all six or none. Uncuffed: each ships the day its change is ready:
Tolerant reader
A service that reads only the fields it needs and ignores the rest. Then Orders can add gift_note and Email, which never reads it, needs no release.
Measure it
Services shipped per change · share of deploys that need another team (DORA suggests tracking this) · days from merge to production · rollbacks that touch more than one service.
Watch out
Microsoft: "Functions that are likely to change together should be packaged and deployed together." If two services always ship as a pair, merging them (B3) can be the right fix.
Sources
DORA, "Capabilities: Loosely coupled teams", dora.dev, updated 20 Oct 2025 · Microsoft, "Microservices architecture style", Azure Architecture Center, 2025 · both read in session · simulation, Python, run 19 Nov 2026.

What happens in the the distributed monolith animation, step by step?

  1. Six services, six code bases, six teams. On paper, each one ships on its own. But every pair is chained by the same shared library.
  2. One small change: Orders adds a gift note to every order.
  3. Your turn: how many services must ship for this one-field change?
  4. All six. Each imports the same shared Order class, so a one-field change ships everything, together, on one release night.
  5. Next release, one deploy fails, and all six roll back. It fails like a monolith, only over a network.
  6. Break the cuffs: each service owns its API, versions it, and ignores fields it doesn't know. Orders ships alone. Tap any shop to ship it. Next: who owns the database.

What everyday example explains the distributed monolith?

A band in separate studios that can only play together: the rooms cost six times as much, and nobody can record a take alone.

Why should a team care about the distributed monolith?

Teams split a monolith to ship faster, then find every release still needs every team. Counting services shipped per change and deploys that need another team shows the cuffs before they cost a rewrite; sometimes the honest fix is merging services back (B3, H5).