Technology

Legacy modernisation without stopping the business

Replace a legacy system module by module with no big-bang cutover: an API layer in front, parallel runs, rollback triggers and a sequencing table.

Legacy modernisation without stopping the business
Contents
  1. Which document should you ask operations for today?
  2. Why not switch everything over in one weekend?
  3. What goes in front of the old system, and why start there?
  4. In what order should the modules move?
  5. What sequencing table should each module go through?
  6. How do you run a parallel run that actually proves something?
  7. What triggers a rollback, and who makes the call?
  8. Where should a water and electricity distributor start?
  9. FAQ
  10. Sources

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.

ColumnWhat goes in itWho fills it in
1. ModuleScope in one line, and its routes in the API layerArchitect
2. Depends onModules needed first, scheduler outputs it produces or consumesArchitect and operations
3. Data to migrateObjects, volume, history carried over, what stays in a read-only archiveData owner
4. System of recordFor each object, which system is authoritative during the transition, and which way data syncsArchitect
5. Parallel runLength in business cycles (a parameter) and what gets comparedBusiness and IT
6. Cutover criterionThe measurable condition that allows cutoverBusiness
7. Rollback triggerMeasurable threshold, named decision maker, time to decideIT and business
8. Point of no returnThe event after which going back means a restore (reverse sync stopped, tables dropped)IT
9. Retirement dateThe day the old module stops receiving callsIT

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.

ModuleDepends onData to migrateParallel run (parameter)Rollback trigger
1. Customer portal and complaintsRead API for accounts and invoicesNone, read through the APINone, new function opened branch by branchAPI error rate above threshold
2. Subscription requestsModule 1, write API to the old systemRequests in progressOne month, double entry in two pilot branchesContract missing from the old system the next day
3. PaymentsInvoice APINo history, daily reconciliationOne month-end closePayments unreconciled the next day above threshold
4. Meter readingsMeter and round master data migratedMeters, rounds, 24 months of readingsTwo reading cyclesRejected readings above threshold
5. BillingModules 3 and 4, contracts, tariffsContracts, tariffs, 24 months of invoices, the rest in a read-only archiveAt least two cyclesOne unexplained difference in a cycle
6. Collections and disconnectionsModules 3 and 5Balances, payment plans, open casesOne cycleDisconnection 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

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".

Read next

  1. Technology

    Load testing: find out why your application crashes

    Measure the real peak in your logs, replay it, find the bottleneck (database, pools, memory, external calls) and get a signed load test plan.

    11 min read

  2. Technology

    UAT sign-off: template and acceptance rules

    A UAT sign-off template to copy and sign, a blocking, major and minor severity grid, and the re-test rules to agree before development starts.

    10 min read

  3. Technology

    Technical debt: how to put a cost on it

    A worksheet you fill in over 30 days to price your technical debt: seven cost lines, where each number lives, the formula, and who owns it.

    11 min read

  4. Technology

    Vendor lock-in: how to avoid it with an API-first design

    Six requirements to write into your specification so you can connect your tools and change vendors later, with the test that checks each one before you sign.

    10 min read

Let's discuss your priorities

A free audit of your information system.

For companies of 50 people or more, or with several sites, with a decision-maker present. Two to four hours of interviews, then a written report that is yours to keep.

* Required field

Only if you'd rather we called you.

A few words are enough. Don't include passwords or sensitive data.

We use this information to reply to your inquiry and, if you've accepted cookies, to measure how well our campaigns perform. To find out how it's stored and how to exercise your rights, see our privacy policy.

Would you rather talk it through?Call us on +212 715 659 190