Video in progress

How do you manage a multi-team migration from a monolith to microservices, on both the technical and organizational sides?

I clarify the business goal, set the domain boundaries together with the teams, migrate in stages using the strangler approach, put the platform foundations in first, and track progress each quarter with visible metrics.

📖 Answer

First the question: why migrate? "Microservices are modern" is not a reason. Usually the real reason is: teams block each other on deploys, one module's load slows down the whole system, or the build takes 40 minutes. If the goal is clear, success can be measured too.

The organizational side:

  • I take Conway's law into account: service boundaries should match team boundaries. If three teams touch one service, you've gained nothing.
  • Each domain team owns its own extraction work. If a central "migration team" does everything, the domain knowledge is lost and teams don't see the result as theirs.
  • Feature work doesn't stop. The business won't wait a year. Usually 20-30% of each team's capacity goes to the migration.

The technical side:

  • Platform first: a CI/CD template, observability (logs, metrics, tracing), service discovery, config. Without this, everything gets tangled by the 10th service.
  • The strangler pattern: new features go in new services, the old ones are moved gradually, and the gateway routes the traffic.
  • Data is the hardest part. To split a shared DB, first establish table ownership inside the module, then move it with CDC or dual-write.
  • Start with the most independent, least coupled domain. The first success becomes the model for the next teams.

Tracking: not lines of code left in the monolith, but metrics tied to the goal: deploy frequency, lead time, incident count. If after a year these haven't improved, the migration isn't paying off, and that has to be said openly.

One more thing: sometimes the right answer is a modular monolith. It's hard to trust a staff engineer who hasn't considered it as an option.