Modular Monolith vs Microservices: Cost, Complexity and Team Size

Compare modular monoliths and microservices on cost, operational complexity, team size, delivery speed and reliability, with a decision checklist.

Published November 27, 2026

Architecture debates often focus on elegance. The decision is usually made, or should be, on economics: how much the system costs to build, run and change, and how well it fits the number of people working on it. This article compares a modular monolith and microservices on those terms and ends with a checklist you can use in your own decision.

The concept

Microservices carry fixed costs that do not depend on traffic: a deployment pipeline, runtime, monitoring, alerting and on-call per service; service discovery and API gateways; distributed tracing; contract testing; and the engineering time to handle partial failures and eventual consistency. Large organisations amortise these costs across many teams and gain autonomy in return. Small organisations pay them without getting much back.

A modular monolith keeps most of those costs at one-service level while preserving clear ownership. Its own limits appear at larger scale: one deployment pipeline shared by many teams, one runtime that must suit every module, and the discipline required to keep boundaries clean. For many organisations up to several dozen engineers, it offers the best cost-to-autonomy ratio.

Side-by-side

DimensionModular monolithMicroservices
Infrastructure baselineOne app (N replicas), one DB clusterMany services, DBs, gateway, mesh, broker
Ops toolingStandard monitoring and logsTracing, service discovery, contract tests, platform team
Team size sweet spot~5-50 engineers~50+ engineers in many autonomous teams
Delivery speed (small org)HighLower: coordination via APIs and infra
Delivery speed (large org)Can slow: shared pipeline and releaseHigh per team, if boundaries are good
Failure isolationLimited (one process)Strong, if designed for it
Data consistencyACID transactions availableSagas, eventual consistency
Hiring and onboardingOne stack, one codebaseMany repos and contracts to learn

Cost depends on organisation size

Modular monolith (8 engineers)1x baselineMicroservices (8 engineers)≈2-3xModular monolith (120 engineers)pipeline contention growsMicroservices (120 engineers)fixed costs amortised
Conceptual relative cost per delivered feature, including infrastructure and coordination overhead.

Decision checklist

  1. How many engineers and teams in the next 2 years?
  2. Do modules need independent scaling, runtimes or deployment cadence?
  3. Do you have (or can you fund) platform engineering for many services?
  4. How important are cross-module ACID transactions?
  5. Are boundaries understood well enough to put a network between them?
  6. If most answers are "small / no / not yet": modular monolith
A short decision checklist.

The best of both over time

The choice is not permanent. Starting with a modular monolith and extracting services when a specific module meets the criteria gives you low cost early and a credible path to autonomy later. The important investment is the same either way: clear business-aligned boundaries, owned data, contracts between modules and automated enforcement.

Practical examples

Rough infrastructure comparison for a mid-size product

Illustrative monthly components; your cloud prices and sizes will differ.

Modular monolith:  3 app instances · 1 managed PostgreSQL (primary + replica) · Redis · CDN · logs/metrics
Microservices:     12 services × 2-3 instances · 6 databases · Kafka cluster · API gateway
                   · service mesh or LB per service · tracing backend · more CI minutes

Engineering overhead to budget for

Work that appears with microservices regardless of traffic.

- Platform/SRE capacity: often 1 engineer per ~5-8 product engineers at scale
- Contract testing and API versioning for every service pair
- Incident response across service boundaries (tracing, runbooks, on-call rotations)
- Local development environments that run or stub many services

Signal to revisit the decision

Track metrics that show when the modular monolith is becoming a bottleneck.

- Deploy queue wait time > 1 day because of other teams' changes
- Build + test time > 30 min despite caching and test splitting
- One module's resource needs dominate infrastructure cost
- Incidents in one module repeatedly affect unrelated features

Common mistakes

  • Comparing architectures without counting operational and coordination costs.
  • Choosing microservices for a small team because large companies use them.
  • Staying with a single deployment long after many teams are blocked by it.
  • Assuming microservices automatically give failure isolation without timeouts, bulkheads and async design.
  • Ignoring hiring and onboarding costs of a many-service landscape.

Key takeaways

  • Microservices have high fixed costs that pay off in large, multi-team organisations.
  • Modular monoliths give the best cost-to-autonomy ratio for most small and mid-size teams.
  • Use organisation size, scaling needs and platform capacity to decide.
  • Start modular and extract services when concrete signals appear.

FAQ

Is there a team size where microservices become the right choice?

There is no exact number, but the benefits usually become clear once you have many teams (often 50+ engineers) that need to release independently, plus a platform team to support them.

Are modular monoliths only for startups?

No. Large companies run very large modular monoliths successfully. The key is investing in boundaries, build tooling and test speed.

What about cloud costs specifically?

Microservices often cost more at low to medium traffic because each service has baseline resources. At very high scale, independent scaling can make them more efficient for uneven workloads.

More Architecture articles