Migration and modernization get used almost interchangeably in casual conversation, and that habit causes real planning mistakes. Migration asks where a workload runs. Modernization asks what the workload actually is, architecturally, once it gets there. A lift and shift migration can be completed in a weekend and still leave an organisation with exactly the same monolithic, hard to change application it started with, only now billed by the hour.
Why the big rewrite usually fails
The instinctive approach to modernising a legacy system is to stop adding features, build a new version from scratch, and cut over once it is ready. This is usually called a big bang rewrite, and it has a long, well documented record of failure, because it forces a single, high stakes cutover before the new system has ever handled real production conditions, and it asks the organisation to keep two systems’ worth of business knowledge in its head for the entire build.
The strangler fig pattern
The alternative, popularised by Martin Fowler, borrows its name from a fig species that grows around a host tree rather than replacing it outright, until the host can eventually be removed. In software terms, a facade or proxy sits between the client and the legacy system, intercepting requests and routing each one either to the old system or to a new service, depending on what has already been rebuilt. New functionality is added as modern components behind that facade, one piece at a time, while the legacy system keeps serving everything that has not yet been rebuilt. Successful adoption still requires strong architectural oversight, clear interfaces between old and new, and close collaboration between the teams building the new components and the team still operating the old system.
This is not the only pattern
Replatforming, moving an application onto modern infrastructure with minimal code change, and domain decomposition, splitting a monolith along its natural business boundaries before rebuilding each piece, are both common alternatives to a full strangler approach, and the right choice depends on how tightly coupled the existing system already is. A tightly coupled monolith with no clear internal boundaries is a poor candidate for strangling until some decomposition work happens first.
The hard part is rarely the application code
Experienced teams report that it is the data layer, not the application logic, where a strangler migration most often stalls. Application requests can be routed incrementally through a facade with reasonable confidence. The data behind those requests usually cannot be split as cleanly, since the old and new systems may need to read and write the same records during the transition, and getting that consistency wrong is a much quieter failure than a broken user interface.
Put this where it belongs in the plan
Modernization is not an output of migration, and it should not be bolted onto a migration project because the workload happens to be moving anyway. Decide separately, for each application, whether it needs to move, whether it needs to change, or both, and if it needs both, sequence the move first on a stable architecture, then modernise deliberately behind a facade, rather than attempting to redesign and relocate an application in the same change window.
Further reading
- Microsoft Azure Architecture Center, “Strangler Fig pattern”
- TechTarget, “A primer on modernization strategies for legacy systems”