Microservices and monoliths

Hand-drawn large hatched terracotta block on the left and a cluster of small terracotta blocks linked by thin lines on the right, over horizontal cream, sand, umber and moss hatching.

Microservices are an architectural style in which one system is built as many small services, each deployed on its own and communicating with the others over a network. A monolith is the opposite arrangement: the whole system is built and deployed as one unit. Respondents to a German survey named maintainability and scalability among their main reasons for adopting microservices (Knoche & Hasselbring, 2021).

Measured comparisons with monoliths disagree, and most cover a single system. Studies dispute whether microservices are faster or use less energy, whether they make code easier to maintain, and whether the reported moves back to monoliths are a trend. A third option, the modular monolith, rests mostly on practitioner reports.

Why organisations migrate Weak evidence: few or small studies support this

Surveys agree that maintainability and scalability are the main reasons organisations move to microservices, and that staff skills are the main obstacle. A survey of software professionals in Germany also named time to market as a main driver (Knoche & Hasselbring, 2021). An earlier survey of 21 practitioners found the same two leading motives, and found that the return on investment was not immediate (Wang et al., 2021b).

The motive depends on who migrates. When existing software is modernised, maintainability leads; early adopters of microservices stress the scalability of Internet-scale systems, while traditional companies stress maintainability (Knoche & Hasselbring, 2021). The same authors note that data on adoption is scarce and that many studies had few participants (Knoche & Hasselbring, 2021).

A migration is an organisational decision as much as a technical one. In interviews about 16 migrations, the decisions fell into three processes: engaging stakeholders and judging feasibility, implementing the change, and restructuring the organisation (Ayas et al., 2021). Research on migration has focused on the technical issues, leaving the organisational and business ones less studied (Ayas et al., 2021). The link between team structure and system structure is the subject of Conway’s law.

How experienced teams build them Weak evidence: few or small studies support this

Evidence that experienced teams depart from standard microservices advice comes from interviews and a small survey in one study. Instead of splitting services by business capability, some split them by resource consumption and by the infrastructure they will be deployed on (Wang et al., 2021b). They named robust shared infrastructure, set up early, as a main factor in their success, and managing code shared across services as a pressing problem (Wang et al., 2021b).

These findings come from 21 interviews and a 37-respondent survey of teams with at least two years of microservices work. The authors note they may not generalise beyond that sample (Wang et al., 2021b).

Measured performance and energy

Whether microservices run faster or more efficiently than a monolith depends on the load, on how many copies of each part run, and on how finely the system is split.

Speed and throughput Contested: studies disagree on this

Studies disagree on whether microservices are faster than monoliths, and authors in the field note that earlier papers contradict each other (Al-Debagy & Martinek, 2018). Throughput here means requests handled per unit of time; latency or response time means how long one request takes.

The cost of calls over the network can make microservices much slower. In a stepwise migration of one application, the microservices version had a severe negative effect on latency and throughput, which the authors attribute to the number of remote calls (Faustino et al., 2022). In another test of one application, the monolith had about 6% higher throughput when many users arrived at once, and load testing showed no significant difference (Al-Debagy & Martinek, 2018).

Other tests favour microservices, depending on the setup. In one migrated web application, microservices did better when no part was replicated, that is, when only one copy of each part ran (Berry et al., 2024). Once both versions were replicated, microservices were slower unless the API gateway (the single entry point that routes requests to services) was replicated too (Berry et al., 2024).

Some results that favour microservices come from unequal or small tests. A webshop study found significantly better response time and CPU use for microservices, but ran them on five virtual machines against one for the monolith (Bernsteiner et al., 2025). A small e-commerce test found 5.4% higher throughput and 25% lower average latency for microservices at 100 simulated users, and no difference at 50 (Katole, 2026).

How finely a system is split matters as well. In a large benchmark system, fine-grained services used 13% more energy and added 14% to response time compared with coarse-grained ones (Zhao et al., 2025b).

Energy use Weak evidence: few or small studies support this

Energy measurements suggest that microservices cost more energy at small scale and can save it only when scaled well. In one application, the microservices version used more CPU and more energy than the monolith when services were not replicated, and became more efficient only with replication (Berry et al., 2024). In four scientific simulation workflows run as microservices, microservices raised energy use for the smaller or tightly coupled ones (Rowley & Elhabbash, 2026). For one larger workflow, event-driven coordination of the services lowered energy use despite a longer run time (Rowley & Elhabbash, 2026).

Maintainability and effort Contested: studies disagree on this

Claims that microservices make software easier to maintain rest on what practitioners report, while the one controlled test favoured the monolith. In an industrial migration of an enterprise system, interviewed experts agreed that the parts already split had become much easier to maintain, with much still to do (Stranner et al., 2020). Those interviews took place while the migration was still under way, and the experts saw no drastic change in scalability yet (Stranner et al., 2020).

In an eye-tracking experiment, 42 participants were randomly assigned to the monolithic or the microservices version of one trading system and asked to find a feature and change code. Task efficacy was significantly higher in the monolith, and finding a given feature took different amounts of time and visual effort in the two versions (Simhandl et al., 2023).

Migrating costs effort, much of it in the communication between parts. In the stepwise migration, most of the cost came from the modules and interfaces needed for services to call each other (Faustino et al., 2022).

Moving back to a monolith Weak evidence: few or small studies support this

Some organisations have moved from microservices back to a monolith, but the evidence is four company cases: Istio, Amazon Prime Video, Segment and InVision (Su et al., 2023). The review that collected them rests on one academic paper and grey literature, such as company blogs and practitioner articles (Su et al., 2023).

Cost is the reason most often given for moving back, followed by complexity, scalability, performance and organisation (Su et al., 2023). In one case, the company’s own report says moving the Prime Video service back to a monolith cut infrastructure cost by over 90% (Su et al., 2023).

The review’s authors say it is too early to call the switch back a trend, and practitioners’ opinions on it are mixed (Su et al., 2023). Most of the practitioners they cite hold that a switch back calls for first assessing the team’s size, structure, skills and ability to run the system (Su et al., 2023).

The modular monolith Weak evidence: few or small studies support this

A modular monolith keeps one deployable unit but divides the code into loosely coupled modules, aiming to combine the simplicity of a monolith with some advantages of microservices (Su & Li, 2024). A review of 64 practitioner sources found four cases, including Shopify, and concluded that the modular monolith is either an alternative to microservices or a step before them (Su & Li, 2024). Shopify considered microservices but chose a modular monolith, to keep one codebase with clear boundaries between components (Su & Li, 2024).

In one measured migration, the modular step itself had costs. Moving that system from a monolith to a modular monolith already caused significant effort and performance problems (Faustino et al., 2022). The performance cost grew with the number of pieces the database was split into, and the further step to microservices hurt latency and throughput severely (Faustino et al., 2022).

Further reading

  • Su et al. (2023): the review of four companies that moved from microservices back to a monolith, with their stated reasons and the review’s caution about calling it a trend.
  • Wang et al. (2021b): interviews and a survey of teams with at least two years of microservices experience, on where practice departs from standard advice.
  • Berry et al. (2024): an experience report measuring performance, availability and energy before and after migrating one application, under different replication settings.
  • Faustino et al. (2022): a stepwise migration through a modular monolith to microservices, measuring performance and migration effort at each step.
  • Su and Li (2024): a review of practitioner sources on the modular monolith, its definition and its cases.

Known gaps

What this article cannot tell you yet.

  1. Later studies that repeat or extend interview research on mature microservice teams were not researched.
  2. No study comparing delivery speed or development cost of microservices and monoliths across several systems was found.
  3. No interview, survey or case study of organisations moving from microservices back to a monolith was found beyond the four company cases described here.
  4. The largest controlled performance comparison, a reference application in four versions and three deployment environments, could not be read beyond its abstract, so its results are not reported.
  5. A 2025 systematic review of modular monolith studies and a controlled energy experiment on two applications could not be checked, so their findings are not reported.

References

Solid source
Rated highly trustworthy by the research, and every passage taken from it was found in it.
Weak source
Rated low, or a passage taken from it was not found in it.
Medium trust
Rated medium by the research.
Not checked
Rated high, but its passages could not all be checked against it.
Show all 14 references