Breaking a monolith into microservices without a big-bang rewrite

3 product teams shipping independently, deploys up from monthly to daily

A single Node.js monolith was blocking independent deploys across three product teams. Extracted services one bounded context at a time behind a strangler-fig proxy, shipping continuously instead of freezing the roadmap for a rewrite.

The Challenge

A single Node.js monolith served three product teams, and every release meant coordinating a shared deploy window across all of them - a change in one team’s feature could block or break another’s, so releases slowed to a biweekly cadence regardless of how ready any one team’s work actually was. The instinct in situations like this is to reach for “let’s rebuild this as microservices properly,” but that’s usually a mistake: it treats the migration as a greenfield design exercise instead of an extraction problem, and greenfield estimates are almost always wrong in the optimistic direction.

The Approach

Diagram showing a client hitting a proxy that routes requests to either the monolith or an extracted service
Strangler-fig proxy routing traffic during migration

The Result

Catching behavior drift before it shipped

The highest-risk step in any extraction is behavioral drift - a service that looks correct in isolation but handles an edge case differently than the code it replaced. Every extracted endpoint ran in shadow mode first: the proxy sent the request to both the monolith and the new service, served the monolith’s response to the actual user, and logged any diff between the two responses. A handful of real discrepancies turned up this way, all involving timezone handling in date fields that the original code handled implicitly through a shared utility the new service hadn’t imported. Catching that before cutover, instead of after, is the entire reason the migration shipped with zero customer-facing incidents.

Where it landed

Three teams now deploy on three independent schedules. The monolith still exists - it’s smaller every quarter, not gone, which is usually how these migrations actually end rather than the clean “we killed the monolith” story that gets told after the fact.

Have something like this to build?

Get in touch