“Should we build this with microservices?” is one of the first questions new clients ask us. The honest answer for most products is: not yet. Microservices solve real problems, but they also bring costs that only pay off at a certain size. This article explains the trade-off so you can make the decision on facts rather than fashion.
What each approach means
A monolith is one application, deployed as one unit, usually with one database. A microservices architecture splits the product into several small applications that each own a piece of the business, talk to each other over the network and are deployed independently.
What microservices actually cost
Every boundary between services turns a simple function call into a network request. That brings work you don’t have in a monolith:
- Failures between services need timeouts, retries and fallbacks.
- Data is spread out, so a single report or transaction may need several services to agree.
- Debugging is harder without centralised logging and distributed tracing.
- More moving parts to deploy, monitor, secure and keep up to date.
For a small team, this overhead can easily take more time than building features.
Start with a modular monolith
The best of both worlds for most young products is a modular monolith: one deployable application, but split inside into clear modules such as accounts, billing, orders and notifications. Each module owns its own data and exposes a small, explicit interface to the others.
You get simple deployments and debugging today, and you keep the option to split later, because the boundaries are already there.
Signals that it is time to split
- Several teams keep blocking each other in the same codebase and release train.
- One part of the system has very different scaling needs, such as image processing or real-time messaging.
- Parts change at different speeds, and slow, careful releases of one area hold back fast-moving ones.
- Different requirements, such as stricter security or data location rules, apply to one area only.
If you see these signals, split out one module at a time rather than redesigning everything.
How to split safely
We use the strangler fig approach: put a routing layer in front of the monolith, build the new service next to it, move traffic for one feature at a time, and remove the old code once nothing uses it. At every step the product keeps working, and you can stop at any point if the benefit is smaller than expected.
Before the first split, make sure you have the basics that services depend on: automated deployments, central logging, monitoring and a clear owner for each service.
Our rule of thumb
Design boundaries early, deploy them together for as long as you can, and split only when a specific, measurable problem demands it. Architecture should follow the shape of your team and your product, not the other way round.