Key takeaways
- A modular monolith is the right starting point for most products.
- Microservices solve organisational and scaling problems, and add operational complexity.
- Split by business capability, never by technical layer.
- Extract a service only when a clear need justifies the cost.
Architecture fashion moves quickly, and microservices have been presented as the default for years. In practice the better question is: what is the simplest structure that meets today's needs and leaves room to change?
What each style means
A monolith is deployed as one unit. A modular monolith is still one deployment but is organised into clearly separated modules with defined boundaries. Microservices split the system into independently deployed services that communicate over a network.
Why many products should start modular
- One deployment is simpler to build, test, secure and debug.
- Calls inside a process are fast and reliable, unlike network calls.
- A small team moves faster without the overhead of many pipelines and environments.
- Good module boundaries make later extraction possible.
When services start to earn their cost
- Several teams need to release independently without blocking each other.
- One component has very different scaling needs, such as a media processing service.
- Parts of the system need different technology or stricter isolation for compliance.
- A failure in one area must not bring down the rest.
The hidden costs of distribution
Each service needs its own deployment, monitoring, alerting, security and data ownership. Network failures, versioning and distributed transactions appear. Without mature automation and observability, a microservice system can be harder to run than the monolith it replaced.
Draw boundaries around business capabilities
Whatever you choose, divide by business meaning (billing, catalogue, identity) rather than technical layers (database service, UI service). Clear ownership of data per module is the single most valuable habit, because it keeps extraction options open.
A practical rule
Start with a modular monolith, measure real bottlenecks, and extract a service only when a specific, written reason exists. That keeps the architecture honest and the team productive.
An illustrative example
The following scenario is hypothetical and is included only to illustrate the ideas above.
A start-up with six developers adopts microservices from day one: twelve services, each with its own pipeline and database. Simple features now touch four services, releases require coordination and debugging takes hours. A year later the team consolidates into a modular monolith with clear boundaries and delivers features twice as quickly.
A larger company with many teams, by contrast, finds that one shared codebase blocks releases. For them, extracting the checkout and catalogue into services with separate ownership is a clear improvement. Same technology, different context, different answer.
How to start in the next 30 days
- Week 1: Document the current modules and their dependencies.
- Week 2: Identify the top two pain points in release speed or scaling.
- Week 3: Define clean interfaces between modules.
- Week 4: Decide whether any extraction is justified and write the reason down.
Common mistakes to avoid
- Splitting too early. Distributing a system before you understand its boundaries creates the wrong services and constant cross-team changes.
- Sharing one database across services. It couples services tightly and removes the independence you wanted.
- Ignoring observability. Distributed systems need tracing, metrics and logs from day one.
- Copying a big company's architecture. Their constraints are not yours. Choose what fits your team size and needs.
- Forgetting the team structure. Architecture and team ownership should match, or releases will still queue up.
A practical checklist
- Write down the problem a split would solve.
- Define module boundaries by business capability.
- Give each module clear ownership of its data.
- Keep interfaces explicit, even inside one deployment.
- Automate build, test and deployment first.
- Add monitoring and tracing before extracting services.
- Extract one service at a time and measure the result.
Frequently asked questions
Can a monolith scale?
Yes. Many large systems run as well-structured monoliths, scaled horizontally behind a load balancer. Scaling needs often come from specific hotspots rather than the whole.
Are microservices more expensive to run?
Usually, because of added infrastructure, tooling and coordination. The cost is justified when independent deployment or scaling provides clear value.
How do we move from a monolith later?
Use modular design now, then extract a module behind a stable interface when a real need appears.
Questions to ask your team or vendor
Good answers are specific and evidence-based. Vague answers are a signal to dig deeper.
- What problem would splitting solve? A concrete, measured one.
- How are module boundaries defined? By business capability with clear data ownership.
- How will we monitor a distributed system? Tracing, metrics and centralised logs.
- How are releases coordinated? Independent where possible, with contract tests.
- What is the operational cost? Infrastructure, tooling and on-call effort quantified.
- Can we reverse the decision? Good designs keep that option open.
Final thoughts
Good architecture is the one your team can understand, change and operate. Start with clear boundaries, keep options open and let measured needs, not fashion, decide when the structure should change.
