A well-built monolith beats twelve premature microservices
Splitting a service is a one-way door with a real operational bill. Here's the judgment I apply before paying it.
Every team that splits a monolith too early pays the same bill twice: once to build the distributed system, and again, forever, to operate it. Network calls fail, transactions stop being atomic, and a stack trace now spans four repositories. None of that is free.
So before I extract a service, I ask three questions.
Does the boundary actually exist?
A microservice is a bet that two parts of the system change for different reasons, at different times, owned by different people. If they change together, the network call between them is pure cost: latency, retries, and a deploy dance, in exchange for nothing. A module boundary inside a monolith tests the same hypothesis for free. If the seam holds for six months as a package, it might be worth a process.
What breaks when it's down?
In a monolith, a function call either runs or the whole request fails, cleanly. Across a network, the callee can be slow, partial, or gone, and the caller has to decide what that means. Timeouts, circuit breakers, idempotency, and reconciliation are not optional once you cross the wire. If you are not ready to write that code, you are not ready for the service.
Can one person still reason about a request?
The thing I protect most is the ability to follow a single request end to end in your head. A clean monolith keeps that property for a long time. Premature microservices throw it away on day one, and you buy it back with tracing infrastructure you did not need yet.
Modular monolith first. Extract a service when the boundary has earned it, not when the architecture diagram looks more impressive.
Microservices are a great answer to scaling teams and independent deploys. They are a terrible answer to "the diagram should have more boxes." The judgment is knowing which problem you actually have.