Distributed Monolith
Pronunciationdis-TRIB-yoo-tid MON-oh-lith
Definition
A distributed monolith is a system split into many services that are still so tightly coupled they must be changed and deployed together. It has the cost of microservices without their benefits.
Where you hear it
In architecture reviews and war stories about failed microservice migrations.
Examples
Five services share one database and deploy in lockstep; it's a distributed monolith.
We got network latency and operational cost but no independence.
Every change to the order service also needs the billing service redeployed.
Common mistake
Splitting before the boundaries are understood. Services with unclear boundaries end up calling each other constantly.
Don't confuse with
A modular monolith, one deployable with clean internal modules. It avoids the network cost while keeping boundaries.
Say it at work
- In a meeting or chat
Are we building microservices or a distributed monolith?
- In an email or ticket
If they always deploy together, merge them.
Keep exploring
More in Architecture & Design