The "Microservices Too Early" Anti-Pattern
Why microservices should follow domain understanding and proven pressure points instead of being the starting architecture for a team.
The “Microservices Too Early” Anti-Pattern
TL;DR: Microservices are a scaling strategy for organizations that deeply understand their domain — not a starting architecture for teams still discovering it. Going early produces three costs: wrong service boundaries (drawn before the domain is understood), premature infrastructure investment (40% of capacity spent on platform instead of product), and cognitive overload on small teams. Every canonical success story — Netflix, Amazon, Spotify — started with a monolith. The discipline is: build a monolith, learn the domain, identify real pressure points, then extract services selectively at proven boundaries.
There’s a timing problem with microservices that nobody warns you about.
The industry talks about microservices as a destination: “We’re moving to microservices.” It talks about patterns: service discovery, circuit breakers, event sourcing. It talks about technology: Kubernetes, service mesh, API gateways. It almost never talks about when — at what stage of a product’s life, a team’s maturity, and a domain’s understanding — microservices become appropriate.
The result: teams adopt microservices before they’ve earned the right to. And the consequences are severe.
The Insight
Microservices are a scaling strategy for organizations that deeply understand their domain. They are not a starting architecture for teams still discovering it.
This is the single most important sentence about microservices that the industry refuses to say clearly. Every canonical microservices success story — Netflix, Amazon, Spotify — began with a monolith. Those organizations built monoliths, ran them for years, understood their domains intimately, identified the exact boundaries where decomposition would unlock team autonomy and independent scaling, and then extracted services.
They didn’t start with microservices. They graduated to them.
In 2020, teams are skipping the monolith phase entirely. They’re designing microservices architectures in sprint zero, before the first line of production code, before the first real investor, before the domain model has been tested against reality. This is the “Microservices Too Early” anti-pattern, and it’s producing some of the most expensive architectural mistakes I’ve seen.
The Context
The timing is understandable. By 2020, microservices are the industry default for greenfield projects. Architecture review boards expect them. Technical leaders advocate them. Job postings require microservices experience. Choosing a monolith feels like choosing obsolescence.
The pressure is real. A team that proposes “let’s build a monolith first” faces resistance:
- “We’ll just have to rewrite it later.”
- “Monoliths don’t scale.”
- “We want to use Kubernetes, which is designed for microservices.”
- “Our cloud architect says microservices are best practice.”
These objections sound reasonable. They’re all wrong — but they require deep experience to counter, and the team members with that experience are often outnumbered by the enthusiasm for the new.
The Three Costs of Going Early
Cost 1: Wrong Boundaries
The most damaging cost. When you design service boundaries before understanding the domain, you draw them wrong. You separate things that belong together. You couple things that should be independent. You create network calls where function calls would suffice.
Example: A team building a mutual fund investment platform created separate services for “Investor Onboarding,” “KYC Verification,” “Transaction Processing,” and “Unit Allotment” in sprint zero. Seemed clean — four distinct stages of a mutual fund investment.
In reality, the investment lifecycle was deeply interconnected. A unit allotment decision required data from investor onboarding, KYC verification, and three external sources (NAV feed, RTA, payment gateway). Transaction processing needed to modify folio state. KYC checks needed to be re-triggered when a transaction crossed threshold limits. What looked like four independent stages was actually one complex workflow with shared state.
The team spent 8 months fighting cross-service data consistency, building synchronous call chains 4 levels deep, and debugging distributed transactions that failed silently. The “microservices” were a distributed monolith — coupled at the data level but separated at the network level.
A monolith would have surfaced the domain’s true boundaries within 3 months. The team could have extracted services along those real boundaries — with confidence that the boundaries were correct.
The principle: You cannot draw correct service boundaries for a domain you don’t yet understand. And you don’t understand a domain until you’ve built and operated a system within it.
Cost 2: Premature Infrastructure Investment
Microservices require infrastructure that monoliths don’t: service discovery, distributed tracing, centralized logging, API gateways, inter-service authentication, contract testing, per-service CI/CD pipelines, and container orchestration.
When a team of 6 engineers is building an investment platform with uncertain market fit, spending 40% of their capacity on infrastructure instead of features is catastrophic. The platform needs to iterate fast — test hypotheses, talk to investors, pivot if necessary. Infrastructure investment locks in architectural decisions before the product has proven it should exist.
I’ve watched a startup spend 4 months building a microservices platform (AKS cluster, Istio service mesh, centralized logging with Elasticsearch, distributed tracing with Jaeger) before onboarding their first investor. When the investment platform needed to pivot, they couldn’t — because their architecture was optimized for the old model, and the service boundaries were wrong for the new one.
A monolith would have let them ship in month 1 and pivot in month 2. Instead, they spent months 1–4 on infrastructure and months 5–8 trying to reshape their service boundaries around a changed product direction.
Cost 3: Cognitive Overload on Small Teams
A 6-person team running 8 microservices means every engineer is responsible for multiple services. There’s no team-per-service ownership. Instead, everyone touches everything — but across network boundaries, separate repositories, independent deployment pipelines, and different runtime configurations.
The mental model is brutally complex. Debugging a request that flows through 4 services requires understanding 4 codebases, 4 deployment configurations, 4 log streams, and the network interactions between them. On a monolith, the same debugging session is a stack trace in one codebase.
Small teams don’t have the cognitive bandwidth for microservices. The organizational structure that makes microservices work — small, autonomous teams owning one or two services each — requires organizational scale that small teams don’t have.
Conway’s Law in reverse: Microservices were designed for organizations with many independent teams. Applying them to a single team doesn’t give you the benefits of independent ownership. It gives you the overhead of distributed systems with none of the organizational autonomy.
The Timing Model: When to Decompose
Phase 1: BUILD THE MONOLITH (Month 0–12)
├─ Ship features fast
├─ Discover the real domain model
├─ Learn which boundaries are stable
├─ Identify which parts need independent scaling
└─ Validate product-market fit
Phase 2: IDENTIFY PRESSURE POINTS (Month 12–18)
├─ Which module has different scaling needs?
├─ Which module is owned by a different team?
├─ Which module changes at a different cadence?
├─ Which module causes deployment bottlenecks?
└─ These are your extraction candidates
Phase 3: EXTRACT SELECTIVELY (Month 18+)
├─ Extract ONE service at the strongest boundary
├─ Validate: Is it truly independent? Can it deploy alone? Does it own its data?
├─ If yes: extract the next candidate
├─ If no: the boundary was wrong — re-absorb and try a different cut
└─ Repeat. Slowly. Each extraction is permanent.
This isn’t a rigid timeline. Some domains stabilize faster. Some teams learn faster. The point is the sequence: build, learn, identify, extract. Not: design, decompose, build, discover you were wrong.
The Uncomfortable Implication
If you’re starting a new project in 2020 with a team under 15 engineers and a domain you haven’t built production systems in before, start with a monolith. A well-structured monolith with clear module boundaries, enforced through code organization, not network calls.
This isn’t conservative advice. It’s practical advice from watching the alternative fail repeatedly. The teams that start with microservices and succeed are the exception — and they usually succeed despite the early decomposition, not because of it.
Microservices are not a starting architecture. They’re an ending architecture — the shape your system takes after you understand your domain deeply enough to decompose it correctly. Starting with microservices is like writing chapter summaries before you’ve written the book. The structure might feel organized, but it’s fiction.
The discipline isn’t in decomposing early. It’s in resisting premature decomposition until the domain tells you where the real boundaries are.
When did your team adopt microservices — before or after understanding the domain? If you went early, what was the cost? If you waited, what signal told you it was time? I’m building a pattern library of timing decisions and want to include both successful and unsuccessful examples.
Related Posts
Monolith vs Microservices - should we start with microservices?
Monoliths and microservices compared through modular boundaries, extraction signals, scaling, team ownership, distributed failure, and practical starting criteria for growing teams.
When One Monolith Would Have Saved Millions
Why a modular monolith can be the lower-cost choice when service boundaries, team capacity and independent scaling needs are not proven.
Microservices - Part 1
Microservices Part 1 explains Conway's Law, modular monoliths, service ownership, distributed data, deployment independence and the hidden costs of service boundaries.