Contact us

Modular Monolith vs Microservices: 3 Honest Signals

Nunzio Giugliano

Dec 02, 2026 • 9 min read

Modular monolith concept: an architectural model of one building with clearly separated rooms on an architect's desk

Picture two proposals for one platform on the same desk. The first describes a dozen microservices on Kubernetes, the software that keeps many small services running across a cluster of servers. The second describes one application divided into clear internal modules, what engineers call a modular monolith. The first sounds more modern, and for most companies commissioning a new platform it is also the more expensive answer to a problem they do not have yet.

Segment, the customer data company that is now part of Twilio, learned this the hard way. In a 2018 post, Alexandra Noonan described how the team had ended up with over 140 services, one for each destination it sent data to. Keeping them running took “3 full-time engineers spending most of their time just keeping the system alive.” Its “operational overhead increased linearly with each added destination,” so the team merged the destinations back into a single service in one repository, which one engineer can now deploy “in a matter of minutes.”

None of this proves that microservices are wrong, and Segment's post says they still worked well in parts of its infrastructure. What it does show is that they were wrong for a small team, the situation most buyers are in. Three signals tell you when microservices are worth their price, and until one of them appears, a modular monolith gives you clean boundaries without the running costs.

What a modular monolith is

A modular monolith is a single application, deployed as one unit, whose code is split into modules that follow business areas such as orders, billing or customers. Each module owns its data and talks to the others only through a defined interface. In a classic monolith, by contrast, any piece of code can reach into any other, which is how large applications turn into tangles nobody dares to change.

Deploying means putting a new version of the software into production, and with a modular monolith there is one thing to deploy and one application to watch when something breaks. The internal walls still stop one part of the code from quietly depending on another, and that discipline is what makes the structure last.

Shopify is the best-documented example, because in 2019 its engineering team described its core application as “one of the largest Ruby on Rails codebases in existence,” worked on for over a decade by more than a thousand developers. Rather than splitting it into services, the team reorganized the code by real-world concepts like orders, shipping, inventory and billing. Each component exposed a public API, a published list of what other parts of the code may ask it to do, and took “exclusive ownership of its associated data.”

The goal, in the team's words, was “a solution that increased modularity without increasing the number of deployment units,” and an in-house tool called Wedge tracked each component's progress and listed the places where code still crossed a boundary. If Shopify, with more than a thousand developers over the years, chose modules inside one application first. The size of your company does not force microservices on you either.

What microservices actually buy you, and what they cost

In the microservices vs monolith debate, the benefits of microservices are real, and they are mostly about teams. Splitting a system into separately deployed services lets different teams release their part without waiting for each other, lets one part scale up without the rest and keeps a crash in one service from taking down the others.

Each of those benefits has a price, and the first is the network: every call between services crosses it, which makes each call slower than one inside a single application and liable to fail. Data is split across several databases, so building reports across them and keeping them consistent both get harder. On top of that, every service needs its own build pipeline, the automated chain that tests and ships code, its own monitoring and someone on call when it breaks.

These microservices disadvantages rarely appear in a proposal, yet Shopify's post lists the same ones. It would have had to maintain “multiple different test & deployment pipelines”, and that crossing the network “adds latency and decreases reliability with every call.” In 2015 Martin Fowler observed that “almost all the successful microservice stories have started with a monolith that got too big and was broken up,” and that almost every system he had heard of that was built as microservices from scratch “has ended up in serious trouble.” That pattern, he wrote, had led many of his colleagues to argue against starting a new project with microservices, even one expected to grow large. He admitted the evidence was still sparse.

Crafting Excellence in Software

Let’s build something extraordinary together.
Rely on Lasting Dynamics for unparalleled software quality.

Discover our services

Thoughtworks' Technology Radar first warned against microservice envy in January 2015 and kept it on Hold, its "proceed with caution" ring, until November 2018. That last entry describes teams tempted "to complicate their architecture by having lots of services simply because it's a fashionable architecture choice." If the reason for microservices is that they look modern, you are paying a price meant for many teams on a project that has one team, where a modular monolith would do the job.

Signal 1: several teams need to ship without waiting for each other

Count the teams rather than the features, because microservices pay off when separate teams own separate parts of a system and release them on their own schedule. With one team, or two that talk every day, a modular monolith moves faster, since independent deployment buys nothing and every extra service adds a pipeline to maintain.

Segment shows the cautionary side of this signal. Instead of moving faster, its post says, “the small team found themselves mired in exploding complexity,” and a change to one shared library meant deploying more than 140 services. Shopify, at a far larger scale, still started with modules inside one application.

The practical test is a question for the vendor about how many teams will work on the platform in its first year and how many in its third. If the honest answer is one team in both, a modular monolith is the default, and the case for microservices has to come from one of the other two signals.

Signal 2: one part must scale or fail differently from the rest

The only good technical reason to split early is a part of the system that behaves very differently from the rest, such as heavy video or document processing sitting next to an admin panel used by a few people. In that case you keep the modular monolith and extract that one piece rather than splitting everything, and you check that the split actually saves something.

A video quality monitoring wall in a broadcast control room, the kind of workload that behaves differently from the rest of a system

A team at Prime Video learned what happens when a split saves nothing, as InfoQ reported in May 2023. A service that checks the quality of audio and video streams had been built from distributed serverless components, small functions that the cloud provider runs on demand, and it could only handle around 5% of the expected load. The orchestration steps and the constant reading and writing of intermediate data to cloud storage drove the cost up.

The team rebuilt it as one application, with all the steps inside a single process and copies of that process sharing the work. Operating costs fell by 90%, and the engineer who described the change wrote that the distributed approach was not bringing many benefits in that specific use case. It was one monitoring service, not Prime Video as a whole, and that is exactly the point. “It will need to scale” is not a signal, whereas “this part has ten times the load of everything else” is one, and even then you split that part out of the modular monolith, not the whole system.

Signal 3: you have the budget to run what you split

Microservices move cost from building to running, and the running bill arrives every month after the launch. A distributed system needs monitoring that can follow a single request across services, alerts that reach the right person, someone on call for each service. It also needs a pipeline per service and contract tests, the automated checks that two services still agree on how they talk to each other. A modular monolith keeps that bill to one application, one pipeline and one on-call rotation.

Server racks with cables and status lights in a data centre, the running cost behind every service split off a modular monolith

Segment's three engineers working full time just to keep the system alive are the clearest picture of that line item, and they were not building features while they did it. Before signing, ask who will run the platform after launch, what hosting and monitoring will cost each month and how many people will need to be on call. An architecture you cannot afford to operate is not scalable; it is fragile.

Innovating Your Digital Future

From idea to launch, we craft scalable software tailored to your business needs.
Partner with us to accelerate your growth.

Get in touch

How to keep the door open

The value of a modular monolith is the option it keeps open, because if the modules are real, splitting one off later is a project rather than a rewrite. That depends on modules that follow business areas rather than technical layers such as database code or screens, on each module owning its own data and on modules calling each other only through their interface.

In a modular monolith architecture, those boundaries should be checked automatically every time the code is built, not left to good intentions. Shopify built Wedge to track them, and in the Java world Spring Modulith, an official Spring project, can verify that modules reach each other only through their published interfaces. Thoughtworks' Technology Radar flagged it in 2023 as worth assessing, partly because it automates that verification.

Frameworks come and go, and Google's Service Weaver, which promised to let teams write a modular monolith and deploy it as microservices, went into maintenance mode in December 2024 and was archived in March 2026. The boundaries are what you actually keep, and when one of the three signals appears, you extract the module it concerns along the line that already exists.

For teams starting from an old system rather than a new one, our guide to legacy system modernization covers the strangler-fig approach, in which a new service gradually takes over one function at a time. Either way, a monolith becomes a problem when nobody has drawn the lines inside it, not because it is one application.

What to ask a vendor who proposes microservices

A proposal built for your situation should answer four questions: which of the three signals applies to you today, and to which part of the system; how many teams will deploy independently in the first year; what the platform will cost each month to run and monitor; and who will be on call.The most revealing question is which module the vendor would split off first if you started with a modular monolith, and when, because a vendor with a real answer has thought about your platform rather than its own portfolio.

The wrong reasons sound convincing in a pitch, whether it is that the big tech companies do it, that it scales better, with no load figures behind the claim, or that it is simply more modern. None of them describes your company, and anyone offering bespoke software development should be able to explain the modular monolith vs microservices choice in terms of your teams, your load and your budget.

Got a proposal for a dozen microservices and a team of five? Send it to us and we will tell you which signal, if any, it answers.

About the author

This article was written by Nunzio Giugliano at Lasting Dynamics, an EU-based custom software development company. It is written for the people who commission and pay for a platform rather than design it, and the sources it cites are linked so you can check them before you decide.

FAQs

What is a modular monolith?

It is a single application, deployed as one unit, whose code is split into modules that follow business areas and each own their data. Unlike a classic monolith, the modules talk to each other only through defined interfaces, so the internal boundaries stay clean.

Software That Drives Results

We design and build high-quality digital products that stand out.
Reliability, performance, and innovation at every step.

Contact us today

What is the difference between a modular monolith and microservices?

Both divide a system along the same business boundaries. A modular monolith deploys those modules together as one application, while microservices deploy each one separately and connect them over the networkwhich gives teams independence but adds network delays, split data and more services to run.

Is a monolith bad architecture?

No. An unstructured monolith, where any code can reach into any other, becomes hard to change, but Shopify organized one of the largest Ruby on Rails codebases into components inside one application, and Segment moved back from more than 140 services to a single one.

Can a modular monolith scale?

Yes. You can run more copies of the whole application, and when one part needs to scale or fail differently, you extract that module on its own. A Prime Video team did exactly that for one monitoring service: it moved the distributed steps into a single process, ran copies of it to share the load and cut operating costs by 90%.

When should we move to microservices?

Once one of the three signals appears: several teams that need to release independently, one part that must scale or fail differently, or a budget to run what you split. Start with the module the signal concerns, and until then a modular monolith keeps the option open.

Your Vision, Our Code

Transform bold ideas into powerful applications.
Let’s create software that makes an impact together.

Let’s talk

Nunzio Giugliano

Nunzio Giugliano is a Marketing Specialist at Lasting Dynamics, where he works on SEO strategy, technical content and B2B research across AI, enterprise software and digital transformation topics. His work focuses on making complex technology subjects clear, useful and accessible for CTOs, founders, decision makers and technical teams.

ClientsAcademy
Book a call