Microservices promised engineering teams independent deployments, flexible scaling, and the freedom to choose technologies for individual services. For large organizations with dedicated platform teams, these benefits can justify the architectural complexity. However, mid-sized engineering teams are increasingly recognizing that distributed architectures introduce operational costs that are difficult to manage without sufficient engineering resources. Network failures, service discovery, duplicated infrastructure, and complicated debugging can consume time that would otherwise go toward product development. The problem is not that microservices are inherently flawed, but that their benefits depend on organizational maturity, workload requirements, and team structure. For many growing businesses, returning to a modular monolith offers a more practical balance between maintainability, deployment speed, and operational reliability.
Why Microservices Became the Default Choice
The Promise of Independent Services
Microservices gained popularity because they allow applications to be divided into smaller services with defined responsibilities. Teams can deploy these services independently, scale individual components, and isolate certain failures without rebuilding an entire application. For example, an e-commerce platform might separate payments, inventory, notifications, and order management into different services. This architecture can work well when each domain has clear boundaries and teams have enough autonomy to manage their components. Problems emerge when organizations adopt the pattern before they have the traffic, team structure, or operational capabilities that make independence valuable.
Architecture Driven by Future Expectations
Some engineering teams adopt microservices because they expect rapid growth, even when their current application remains relatively small. They may introduce service meshes, message brokers, container orchestration, and distributed tracing before experiencing a genuine need for them. These tools can solve real problems, but they also create configuration, maintenance, and monitoring responsibilities. A team of eight developers may spend substantial time maintaining infrastructure instead of delivering features. Architecture should respond to demonstrated requirements rather than assumptions about what a business might need several years later.
The Hidden Costs of Distributed Systems
Network Calls Replace Simple Function Calls
In a monolithic application, one module can call another through an ordinary function within the same process. In a microservices architecture, the equivalent operation may require serialization, network communication, authentication, and remote error handling. Every additional network boundary introduces latency and new failure possibilities. If a checkout request depends on several sequential services, one slow dependency can delay the entire transaction. Engineers must therefore design timeouts, retries, circuit breakers, and fallback behavior, adding complexity that does not exist in the same form inside a single process.
Debugging Becomes an Operational Challenge
A failure inside a monolith can often be investigated using application logs, stack traces, and a reproducible test. Distributed applications require engineers to correlate events across services, identify the original failure, and distinguish symptoms from causes. A single customer request might generate dozens of log entries across multiple components and infrastructure layers. Without consistent request identifiers, useful tracing, and centralized observability, diagnosing incidents becomes slow and frustrating. These operational requirements can overwhelm teams that lack dedicated platform engineering support.
Why Mid-Sized Teams Reconsider Microservices
Infrastructure Costs Grow Beyond Compute
Microservices can increase spending through duplicated monitoring, deployment pipelines, network traffic, service instances, and managed infrastructure. Even services with modest workloads may require separate operational configurations and ongoing maintenance. The financial cost is only part of the problem because developers also spend time updating dependencies, managing deployments, and responding to alerts. For a mid-sized company, these responsibilities can reduce the engineering capacity available for customer-facing improvements. Consolidating services may reduce both infrastructure overhead and the number of systems that developers must understand.
Independent Deployment Does Not Guarantee Faster Delivery
Independent deployments are useful when teams genuinely need to release different components on different schedules. However, services with tightly coupled data models or shared business workflows may still require coordinated changes. A database schema update can affect several consumers, while an API change may require backward compatibility across multiple versions. Teams can end up maintaining elaborate release coordination despite having adopted microservices to avoid it. A well-structured monolith may deliver faster when most features require changes across the same small group of developers.
The Modular Monolith as an Alternative
Preserve Boundaries Without Distributed Overhead
A modular monolith keeps an application in one deployable unit while organizing its code into clearly defined business modules. An online marketplace, for example, can maintain separate catalog, checkout, billing, and customer modules without immediately running each as an independent service. Each module exposes explicit interfaces and limits direct access to another module’s internal implementation. This structure encourages separation of concerns while preserving straightforward local calls and simpler deployment. If a particular module later requires independent scaling or ownership, the team can extract it using boundaries already established in the codebase.
Improve Testing and Developer Productivity
A modular monolith can simplify local development because engineers often run the application and its modules within one environment. Integration tests can verify interactions without requiring a network call between every internal component. Deployment pipelines may also become easier to maintain because the team manages fewer independently versioned artifacts. These advantages depend on enforcing module boundaries rather than allowing the monolith to become an unrestricted collection of tightly coupled files. Architecture tests, code ownership rules, and dependency reviews help preserve modularity as the application grows.
When Microservices Still Make Sense
Microservices remain valuable when an organization has clear domain boundaries, meaningful differences in scaling requirements, or teams that need independent release schedules. A high-volume payment service may require stricter isolation than a low-traffic administrative feature. Separate services can also support regulatory boundaries or allow different components to use specialized infrastructure. However, teams should compare these benefits against the cost of operating distributed systems. Extraction is most effective when driven by a measurable constraint, such as deployment bottlenecks, resource contention, or the need for independent ownership, rather than architectural fashion.
Conclusion
The move away from microservices is not a rejection of distributed systems; it is a recognition that architectural complexity must deliver measurable value. Mid-sized engineering teams often benefit from reducing unnecessary network boundaries, simplifying deployments, and directing more time toward product development. A modular monolith provides a practical middle ground by preserving clear domain boundaries without requiring every component to operate as a separate service. Microservices remain appropriate when independent scaling, ownership, or deployment justifies their additional costs. The best architecture is therefore the simplest design that satisfies current business and technical requirements while allowing future change. Teams should evaluate their actual bottlenecks, measure operational overhead, and evolve their architecture deliberately rather than following a universal rule.
FAQs
1. Why are companies moving away from microservices?
Some companies reconsider microservices because operating numerous services creates additional infrastructure, monitoring, deployment, and debugging responsibilities. These costs can outweigh the benefits when teams are small or services remain tightly coupled. A simpler architecture may improve delivery speed and reduce maintenance work. However, the decision depends on actual business requirements, service boundaries, scaling needs, and the organization’s ability to manage distributed systems reliably.
2. What is a modular monolith?
A modular monolith is an application deployed as one unit but organized into separate modules with clear responsibilities and controlled dependencies. Each module owns a particular business capability, such as billing or inventory, while communicating through defined interfaces. This design preserves many organizational benefits associated with microservices without introducing a network boundary between every component. Strong dependency rules are essential to prevent modules from becoming tightly coupled.
3. Are microservices more expensive than monolithic applications?
Microservices can introduce additional costs through service infrastructure, observability tools, network communication, deployment pipelines, and engineering maintenance. However, they may also reduce costs when individual services need different scaling resources or independent operational controls. A monolith is not automatically cheaper in every situation. Teams should compare total infrastructure spending, developer time, incident response effort, and delivery speed before making an architectural decision.
4. When should a monolith be split into microservices?
A monolith becomes a stronger candidate for extraction when a specific component has distinct scaling requirements, independent ownership, or deployment constraints that the existing architecture cannot address efficiently. The team should also have reliable monitoring, automated testing, deployment practices, and a clear plan for managing data and network failures. Extracting services without solving a concrete problem can create complexity without improving performance or delivery speed.
5. Can a modular monolith scale for a growing business?
Yes. A modular monolith can support substantial growth when its database, application runtime, and internal architecture are designed appropriately. Teams can optimize expensive operations, add application instances, introduce caching, and improve database performance before distributing components. If a specific module eventually requires independent scaling or deployment, clear boundaries make extraction easier. This approach allows architectural complexity to increase in response to demonstrated needs rather than anticipated growth alone.