Monolith vs microservices
A honest split: when one deployable is simpler, and when you are paying microservice cost without microservice benefit.
Distribution is expensive
A monolith is one deployable (often with modules inside). Microservices are many deployables that talk over the network. The network adds latency, partial failure and versioning. You only want that when a single codebase or a single team is the tighter constraint.
Stay with a modular monolith when
- One team ships the product.
- You do not yet have a single source of truth for data.
- You cannot yet operate queues, tracing and many CI pipelines well.
Split when
- Two teams need independent release cadence and you can afford contracts (OpenAPI or gRPC).
- A part of the system has a radically different scale or compliance boundary.
See event-driven integration if you do split.
Related
Last verified: August 2026. Technology and pricing change — always confirm current details with the vendor.