To modernise a legacy system without stopping the business, put an API layer in front of it that receives every call, then rebuild its modules one at a time behind that layer. The old system keeps serving everything that hasn't moved yet. Each rebuilt module first runs in parallel with the old one, on the same data, until the results match a criterion written down in advance. Every cutover has a rollback trigger agreed beforehand, and the old system is switched off on the day no call reaches it any more. Martin Fowler named this approach the "strangler fig", after the vine that grows around its host tree until it takes its place.
A big-bang cutover puts all the risk on one date. During the years of rebuilding, the old system is frozen, and as Fowler points out, users can't wait that long for new features; the business either waits or works around the system in spreadsheets. If the cutover fails at an operator that bills hundreds of thousands of customers, wrong bills go out from the first cycle, and the branches and the call centre absorb the complaints one by one.
Which document should you ask operations for today?
Ask operations for a full export of the job scheduler, meaning the list of scheduled jobs on the old system with the run time, input files and output files of each one. With no scheduler, the server's list of scheduled tasks does the same job. Then add one column by hand, for whoever receives each output file.
This list shows dependencies no architecture diagram shows, like the night file meant for the general ledger or the export the bank collects every morning. Each of those files has to keep arriving in the same format at the same time, whichever module ends up producing it. Look hardest at outputs with no known recipient. That is often where a department finds out, after cutover, that it depended on a file nobody knew how to produce any more.
Why not switch everything over in one weekend?
The plan sounds simple: rebuild alongside, then switch over in one go. Fowler writes that he has seen this "simple-sounding plan go down in flames most of the time". A system that has been in production for twenty years carries rules written nowhere but in the code (an odd rounding method, a tariff exception, a check added after an incident), and a one-shot rebuild has to find every one of them before the date.
A single cutover still makes sense in two cases Microsoft lists: a small system that is simple to replace whole, or a requirement to retire the old system quickly. And if you cannot intercept the old system's calls, or cannot change either its code or its database, the method doesn't apply as it stands.
What goes in front of the old system, and why start there?
The first release replaces nothing. It installs an API layer, often called a facade, between the old system and everything that calls it (customer portal, branch applications, partners, night jobs). At first the layer passes every call through to the old system and users see no change. It is useful from day one anyway, since every call is logged and you get a map of real usage.
From then on, migrating a module means changing a route in that layer, and rolling back means restoring the original route. That only stays quick if the design has three properties: a routing table under version control, any route switchable back in minutes, and a layer that is neither a single point of failure nor a performance bottleneck, two risks Microsoft calls out.
During the transition, the two systems also call each other. A translation layer (an anti-corruption layer, in the jargon) converts the old system's codes and formats so the new one doesn't inherit its conventions. Even if the old system has no interface, its database can serve as the entry point, through change data capture or triggers. That work is systems integration.
Give the layer an owner and a removal date too, or it will become the next component nobody dares to touch.
In what order should the modules move?
Start at the edges: the functions that read more than they write and that few modules depend on (account lookups, complaints, reporting). Fowler suggests starting with small additions, often new features, built on top of the legacy code base yet separate from it. Changes the business asks for during the modernisation follow the same path, which saves building them twice.
The core, which almost every other module depends on, moves last, because each module moves only after the ones it depends on, or else calls them on the old system through the API layer. When dependencies are equal, the method lets you, as Microsoft notes, do the highest-return replacements first. Our method for costing technical debt gives you that figure module by module, and our piece on information system modernisation covers the options (rehost, refactor, replace) to choose from.
What sequencing table should each module go through?
One row per module, nine columns, and no cutover until the row is complete. Durations and thresholds are parameters you agree with the business; no value fits every system.
| Column | What goes in it | Who fills it in |
|---|---|---|
| 1. Module | Scope in one line, and its routes in the API layer | Architect |
| 2. Depends on | Modules needed first, scheduler outputs it produces or consumes | Architect and operations |
| 3. Data to migrate | Objects, volume, history carried over, what stays in a read-only archive | Data owner |
| 4. System of record | For each object, which system is authoritative during the transition, and which way data syncs | Architect |
| 5. Parallel run | Length in business cycles (a parameter) and what gets compared | Business and IT |
| 6. Cutover criterion | The measurable condition that allows cutover | Business |
| 7. Rollback trigger | Measurable threshold, named decision maker, time to decide | IT and business |
| 8. Point of no return | The event after which going back means a restore (reverse sync stopped, tables dropped) | IT |
| 9. Retirement date | The day the old module stops receiving calls | IT |
Without a written system of record (column 4), the same contract lives in two systems for months and the two copies drift apart with no alert.
How do you run a parallel run that actually proves something?
Both systems get the same inputs, but only the old system's outputs leave the building, since it is still the system of record. A program compares the results line by line, because eyeballing a sample proves nothing across hundreds of thousands of lines.
Every difference gets a label: an error in the new system, an error in the old one, or a rule the business deliberately changed and signed off. The cutover criterion counts the differences left without a label, the unexplained ones.
Count the length in business cycles. A parallel run that doesn't cross a month-end close hasn't tested the close, and one that avoids the seasonal peak hasn't tested the load. Write the criterion before day one, because a criterion set after seeing the results usually gets met.
What triggers a rollback, and who makes the call?
A useful trigger is a threshold anyone can read off a dashboard: unexplained differences, the error rate on a route, payments still unreconciled the next morning. It also names the person who decides, the business director or the CIO depending on the module, and how long they have. Nobody wants to cancel a cutover alone at 2 a.m., which is why that name has to be known before cutover night.
Rolling back assumes the old system kept receiving the data entered in the new one, which means a reverse sync running until the point of no return. Microsoft makes the point for databases: going back stays possible while the original tables and the sync exist, and becomes much heavier and riskier once they are removed. Remove the old system's objects last, and rehearse the rollback at least once before the real cutover.
The old module is switched off once the API layer has sent it no calls for the period you set, every scheduler output comes from a new module, and the history stays readable in read-only mode.
Where should a water and electricity distributor start?
A water and electricity distributor serves 450,000 contracts from a customer management system about twenty years old. The company and figures are invented for illustration. The scheduler export lists 140 jobs, 23 of which drop a file that another system reads. Four of those files have no known recipient; on inquiry, three turn out to feed the general ledger and internal control, and only one is no longer used.
IT settles on this order.
| Module | Depends on | Data to migrate | Parallel run (parameter) | Rollback trigger |
|---|---|---|---|---|
| 1. Customer portal and complaints | Read API for accounts and invoices | None, read through the API | None, new function opened branch by branch | API error rate above threshold |
| 2. Subscription requests | Module 1, write API to the old system | Requests in progress | One month, double entry in two pilot branches | Contract missing from the old system the next day |
| 3. Payments | Invoice API | No history, daily reconciliation | One month-end close | Payments unreconciled the next day above threshold |
| 4. Meter readings | Meter and round master data migrated | Meters, rounds, 24 months of readings | Two reading cycles | Rejected readings above threshold |
| 5. Billing | Modules 3 and 4, contracts, tariffs | Contracts, tariffs, 24 months of invoices, the rest in a read-only archive | At least two cycles | One unexplained difference in a cycle |
| 6. Collections and disconnections | Modules 3 and 5 | Balances, payment plans, open cases | One cycle | Disconnection notice sent to a customer who is up to date |
For billing, the cutover criterion is written before the first cycle: at least two full cycles, and a final cycle with no unexplained difference. In the first cycle, both systems calculate 450,000 bills and 1,350 differ, or 0.3%. Labelling accounts for all of them. 900 come from an undocumented proration rule, applied when consumption straddles a tariff change, 400 from different rounding (per line in the old system, on the total in the new one) and 50 from errors in the old system, confirmed by recalculation. The business keeps per-line rounding, the new system adopts it, and the proration rule is added.
In the second cycle, 120 bills differ: 110 confirmed errors in the old system and 10 differences nobody can explain yet. The criterion is not met and the run is extended by one cycle. In the third, all 95 differences are errors in the old system. The fourth cycle's bills go out from the new system, and the old one keeps receiving meter readings for one more cycle in case of rollback.
FAQ
- Can we use this method when the old system is a packaged product?
Yes, as long as its calls can be intercepted through its interfaces, its exchange files or its database. The product's exchange services then act as the entry point for the API layer. If the licence forbids access to the database and the product offers no interface, check this with the vendor before you build the plan.
- Should we freeze changes to the old system during the migration?
Freeze functional changes, and keep corrective and regulatory maintenance going. A regulatory requirement that affects a module still on the old system does get applied there, and it then joins the list of rules to carry over when that module migrates.
- Doesn't a parallel run double the workload for our teams?
It adds to it, mostly for the business teams who label the differences. Automate the comparison before the run starts, so that only the lines that differ need a person to look at them. Put the extra effort into the module's plan, and stop the run as soon as the criterion is met.
Sources
- Martin Fowler, Strangler Fig (22 August 2024)
- Martin Fowler, Original Strangler Fig Application (29 June 2004)
- Microsoft Learn, Strangler Fig pattern, Azure Architecture Center
Last verified: 2 November 2026.
Send us the scheduler export and the call logs, and the first row of your sequencing table gets filled in during the free audit, before any rebuild decision. Our custom development service can then carry out the rebuild module by module. Martin Fowler published the first version of his piece on the method on 29 June 2004, under the title "Strangler Application".





