All academies
Roadmap
Level 03Foundations 20 min

Problems with Monoliths

The scaling walls — technical and organizational — that push successful monoliths toward decomposition.

The success problem

Monolith pain is usually a symptom of success: more customers, more features, more engineers. What worked for 5 engineers and 10k users starts to crack at 50 engineers and 10M users.

Technical pain points

As the codebase and traffic grow, several forces compound:

  • Scaling is all-or-nothing — to scale the checkout path you must replicate the entire application, wasting resources on idle modules.
  • One bad deploy takes down everything — a memory leak in the reporting module crashes payments too.
  • Build and test cycles balloon — hour-long CI runs slow every team down.
  • Technology lock-in — the whole app shares one language, one framework, one runtime version.
  • The database becomes a single point of contention — every module competes for the same connections, locks, and schema.

Organizational pain points

Conway's Law states that systems mirror the communication structure of the organizations that build them. A single deployable forces all teams into one release train: coordinated deploys, merge conflicts across hundreds of engineers, and 'deployment freeze' meetings.

Amazon's famous 'two-pizza team' rule and the move to service ownership were reactions to exactly this: team autonomy requires deployment autonomy.

50 engineers, 1 deployable
Coordinated release trains
Merge conflicts & freezes
Slow, risky deployments

When to decompose — and when not to

Decompose when deployment coupling is measurably slowing teams down, when modules have wildly different scaling profiles, or when fault isolation is a business requirement.

Do not decompose because it is fashionable. A distributed system multiplies operational cost: network failures, eventual consistency, observability, and deployment tooling all become your problem. As Fowler warns: 'don't even consider microservices unless you have a system that's too complex to manage as a monolith.'

Key takeaways

  • Monolith pain is usually a success problem — growth in traffic, code, and headcount.
  • Key technical walls: all-or-nothing scaling, shared failure domain, slow builds, database contention.
  • Conway's Law: deployment coupling forces organizational coupling.
  • Decompose for measurable pain, not fashion — distribution has a steep operational tax.

Knowledge check

Q1Multiple choice

Why is scaling a monolith often wasteful?

Q2Multiple choice

What does Conway's Law tell us?

Q3Scenario

A 6-person team's monolith deploys in 4 minutes with 99.9% uptime. The CTO wants microservices 'to be modern'. What is the best advice?

Answer all questions to submit