For about a decade, microservices were treated as the mature way to build software: split the system into small, independently deployed services, each owned by a small team. The approach solved real problems at companies with hundreds of engineers, but it also spread to teams that never had those problems, and the costs showed up as network failures, tangled deployments, and bills for infrastructure no one fully understood. By 2026, a counter-current is clear. Several well-known teams have written about consolidating services, and many others choose a modular monolith from the start: a single deployable application with strict internal boundaries. Reported examples include Segment’s move away from microservices in 2018 and an Amazon Prime Video team’s 2023 account of cutting costs by merging a distributed workload, and Shopify is known for running a large modular monolith. Here is an honest look at the trade-offs.
What Each Approach Actually Means
A microservices architecture splits an application into many small services that communicate over the network and are deployed independently, often with their own databases. A traditional monolith is a single codebase and deployment, which can become tangled when boundaries are not enforced. A modular monolith is the middle path: still one deployable unit, but divided into clearly separated modules, each owning its data and exposing a defined interface, with rules that prevent modules from reaching into each other’s internals. The key insight is that the benefits teams want most, clear ownership and loose coupling, come from boundaries in the code, not from putting a network between them.
The Costs Microservices Bring
Splitting a system across a network turns simple function calls into remote calls that can fail, time out, or return stale data. Transactions that were once a single database commit become distributed workflows that need careful handling. Debugging requires distributed tracing and good logging, and each service needs its own deployment pipeline, monitoring, and security. Latency and infrastructure costs rise. Organizationally, microservices work best when teams are large enough to own services independently, a point often linked to Conway’s law, which observes that system structure mirrors organization structure. For a small team, the overhead can swamp the benefits, and some have reported meaningful cost reductions after consolidating.
How to Build a Modular Monolith Well
The approach only works if boundaries are real. Teams define modules around business capabilities, such as billing, orders, and inventory, give each its own data tables and a public interface, and forbid direct access to another module’s internals. Tooling can enforce this: Shopify created a tool called Packwerk for Ruby on Rails, and similar boundary checks exist for other ecosystems, such as architecture tests in Java and dependency rules in monorepo tools. Modules communicate through well-defined interfaces or internal events. Keeping data separated per module makes later extraction possible. Good test coverage and clear ownership of each module are essential, or the monolith will drift back into tangles.
How to Choose, and When to Split
For most teams, especially early-stage and mid-sized ones, a modular monolith is the sensible default: it ships faster, is simpler to run, and keeps options open. Microservices make sense when different parts of the system have very different scaling needs, when separate teams need to deploy independently, when parts require different technology, or when fault isolation is critical. A practical approach is to extract a service only when a module’s boundaries are stable and there is a concrete reason, such as scaling a hot path. This incremental strategy, sometimes called the strangler pattern, reduces risk. The question is not which style is fashionable, but which problems you actually have.
Looking at how teams fare, the pattern is consistent. Organizations that adopted microservices early, without the team size or operational maturity to support them, often reported slow delivery and surprising costs, and some consolidated. Teams that built disciplined modular monoliths found they could move quickly and still extract services when real scaling needs appeared. Even so, microservices remain the right answer in genuinely large organizations with strong platform teams. It is worth measuring before deciding: track deployment frequency, incident causes, and infrastructure costs. When extracting, define the contract first, move the data deliberately, and invest in observability, because a distributed system without tracing is difficult to debug. Avoid dogma in either direction, and revisit the decision as the organization changes.
Conclusion
Microservices solved genuine problems for large organizations, but they are a tool for specific situations, not a default. A well-structured modular monolith gives most teams clear ownership, fast delivery, and the option to split later. Start simple, enforce boundaries, and extract services only when the evidence says you must.
