Key takeaways
- Microservices solve a team and release problem; they add an operations problem.
- A modular monolith gives clear boundaries without a network between them.
- Splitting a monolith works best one piece at a time, behind a routing layer.
How do microservices and a monolith differ?
In how the system is deployed and who can change each part without asking others.
A monolith is built and deployed as one unit, usually with one database. Calls between its parts are function calls in the same process. A microservices system is a set of small services, each deployed on its own, each owning its data and talking to the others over the network.
Martin Fowler and James Lewis’s 2014 article set out the common traits of microservices: services organized around business capabilities, independent deployment, decentralized data and automated infrastructure. Those traits are the benefit and also the cost.
How do they compare side by side?
The trade is independence against simplicity.
| Factor | Monolith | Microservices |
|---|---|---|
| Deployment | One unit; every change ships everything | Each service ships on its own |
| Data | Usually one database, easy transactions | Each service owns its data; consistency is designed |
| Scaling | Scale the whole application | Scale only the services under load |
| Failure | A bug can take down the whole app | Failures can be contained, if designed for |
| Operations | One thing to monitor and debug | Tracing, service discovery and many pipelines |
| Best fit | One to a few teams, a settling domain | Many teams, clear and stable boundaries |
What is a modular monolith?
One deployable application with strict internal boundaries.
A modular monolith keeps the single deployment but divides the code into modules with clear interfaces, each owning its own tables. Modules may not reach into each other’s data. It gives most of the design benefit of services, such as clear ownership and contained change, without network calls, distributed transactions or many pipelines.
It is also the safest starting point for a later split. Fowler’s note on building the monolith first argues that boundaries are hard to get right early, and moving a boundary inside one codebase is far cheaper than moving it between services.
When is it time to move to microservices?
When the monolith slows teams down in ways that boundaries alone cannot fix.
It fits when
- Several teams queue to release through one pipeline
- One part needs very different scaling or availability from the rest
- Boundaries between areas of the business are clear and stable
- You already run CI, infrastructure as code and good monitoring
Look elsewhere when
- The team is small and releases are not the bottleneck
- The domain is still changing shape every quarter
- There is no tracing or central logging yet
- The goal is only to use newer technology
Conway’s law, from Melvin Conway’s 1968 paper, observes that systems mirror the communication structure of the organization that builds them. Services split along team lines tend to last; services split along technical layers tend to need constant cross-team change.
How do you move from a monolith to services?
One capability at a time, with the monolith working throughout.
- MapFind the capability with the clearest boundary and the most pressure to change.
- RoutePut a routing layer in front of the monolith so requests can go to either side.
- ExtractBuild the new service with its own data, and copy or sync the data it needs.
- SwitchMove traffic gradually, compare results, keep the way back, then remove the old code.
This is the strangler fig pattern, described by Fowler and in Microsoft’s architecture guidance. It avoids a long rewrite with nothing shipped.
How ValueCoders helps
How does ValueCoders help?
We assess the codebase, set the boundaries and build or extract the services with your team.
- Starts with
- Codebase Assessment: findings and options with cost, two to four weeks
- Builds with
- A Delivery Pod for a defined extraction, or engineers in your team
- You keep
- Your materials, data and code, and the architecture decisions; rights in bespoke work and the handover are agreed before work starts
Microservices and monolith questions
01Are microservices faster?
Not by default. Network calls add latency that function calls do not have. They can make a system faster to change and let busy parts scale on their own, which is a different kind of speed.
02How small should a microservice be?
Small enough that one team owns it and can change it without coordinating with others, and large enough that common changes stay inside it. Size by business capability, not by lines of code.
03Can microservices share a database?
They can, but it ties them together: a schema change in one breaks the others, and they can no longer deploy on their own. Sharing is sometimes a sensible step during a split, not an end state.
04Is serverless the same as microservices?
No. Serverless is a way to run code without managing servers. A serverless system can be a set of microservices, or a monolith split into functions with all the coupling of the original.
Sources
- Martin Fowler and James Lewis. Microservices. Accessed 9 Nov 2026.
- Martin Fowler. Monolith First. Accessed 9 Nov 2026.
- Melvin E. Conway. How Do Committees Invent?. Accessed 9 Nov 2026.
- Microsoft. Microservice architecture style. Accessed 9 Nov 2026.
- Microsoft. Strangler Fig pattern. Accessed 9 Nov 2026.

