# The legacy modernization playbook: assess, sequence, replace

> Modernization tends to fail when treated as one big decision and to work as many small ones. This playbook covers inventorying an estate, choosing one of six dispositions per system, sequencing the work, running old and new together, and the failures that sink these programs.

Digital transformation · Guide · November 17, 2026 · 12 minute read · By Nabil Ahmed
Canonical: https://farside.works/insights/legacy-modernization-playbook/

![The lunar surface near 9°S, 149°E, lit by a low Sun with night falling across one side.](https://farside.works/content/images/2026/11/legacy-modernization-playbook.webp)

We use "legacy system" to mean a system the business still depends on but can no longer change safely or cheaply, which has little to do with age, since a ten-year-old order system with good tests and a team that understands it is not legacy in any sense that matters.

Modernization programs usually go wrong in one of two ways. Some never start because the estate is treated as one enormous problem needing one enormous budget, while others begin by rewriting the largest system, run for years beside the thing they were meant to replace, and are cancelled with both systems still in service.

We treat modernization as a portfolio of separate decisions, one per system with its own answer, and we think most of the value comes from sequencing those decisions well and from being able to stop at any point with something useful in production. This playbook sets out our working method from the first assessment through to retiring the old system.

## In brief

- Modernization is decided system by system, and for most systems in an estate the right answer is one of the cheaper options (retire, retain or rehost).
- A system should be chosen for refactoring or replacement only when the business needs it to change often and its current state stands in the way of that change.
- The safest sequence begins with a small, real slice that proves the delivery path and leaves the largest, most entangled system until the team has practiced on easier ones.
- Running old and new in parallel is safe only when one system is the declared owner of each piece of data at any moment and a reconciliation report compares the two every day.
- A modernization is finished when the old system is switched off, so a program that does not fund and schedule decommissioning has only added a system.

## Step 1: build an inventory you can trust

Deciding per system requires a list of systems, and the configuration database's list is rarely complete or current, so build the inventory from evidence rather than memory.

For each system, record the following:

- **What it does for the business**, meaning the processes it supports in its users' own words, and what stops if it is down for a day.
- **Who owns it**, meaning a business owner who can decide its future and a technical owner who can explain it, with "none" written where either is missing.
- **What it talks to**: APIs, file transfers, shared databases, message queues, scheduled jobs and reports other teams read straight from its tables.
- **What it runs on** (language, framework, database, operating system, hosting) and which parts are out of vendor support.
- **How it changes**, meaning how often it is released and how long a typical change takes, whether it has automated tests, and how many people can change it safely.
- **What it costs** in licenses, hosting, support contracts and the staff time spent keeping it running.
- **What it holds**, meaning the data it is the system of record for and any regulatory retention duty attached to that data.

Three sources usually tell you more than interviews. Network and database logs show which interfaces are really used and which have been silent for a year, the ticket queue shows where the pain is, and the job scheduler reveals undocumented batch dependencies, which are a common source of surprises in these programs and the reason this step deserves time.

Keep the inventory in one queryable place with someone responsible for keeping it current. This portfolio view is the foundation of [technology modernization](https://farside.works/services/technology-consulting/technology-modernization/) as a program, as distinct from engineering any single application.

## Step 2: score each system

Each system is scored on how much the business needs it to change and how hard it is to change today, using a simple scale with the reason written next to every score.

| Dimension | Question | Low (1) | High (3) |
| --- | --- | --- | --- |
| Business criticality | What stops if it fails | An internal convenience | Revenue, safety or a regulatory duty |
| Demand for change | How often does the business ask for changes it cannot get | Rarely, the process is stable | Constantly, and requests are refused or take months |
| Fit | Does it still do what the business needs | Yes, with small gaps | It forces workarounds and shadow spreadsheets |
| Technical health | Can it be changed safely | Tests, pipeline, clear structure | No tests, manual releases, fear of side effects |
| Supportability | Can you staff and patch it | Skills available, platform supported | Skills scarce, components out of support |
| Operating risk | How does it behave in production | Stable, recoverable | Frequent incidents, untested recovery |
| Cost to run | What does standing still cost | Proportionate | High licenses or hosting for the value delivered |

Each system is then placed on a two-by-two grid.

|  | Low technical risk and cost | High technical risk and cost |
| --- | --- | --- |
| High demand for change | Invest and extend; not a modernization candidate. | Refactor or replace; the engineering budget goes here. |
| Low demand for change | Retain and leave it alone. | Rehost, replatform or retire to reduce risk and cost cheaply. |

The top right quadrant is usually small as it should be, and a common mistake is to fill it with every system engineers dislike, when an ugly but stable system that seldom needs to change belongs in the bottom row. The case for respecting what old systems already do well is made in [your legacy system is an asset with a maintenance problem](https://farside.works/insights/legacy-systems-are-assets/).

## Step 3: choose a disposition for each system

Each of the six options is right under certain conditions and goes wrong in a typical way.

| Disposition | What it means | Choose it when | Watch for |
| --- | --- | --- | --- |
| Retire | Switch it off and archive what must be kept | Usage is low or duplicated, and an archive meets retention | Hidden consumers appearing after shutdown; check logs first, switch off in stages |
| Retain | Keep it as it is, deliberately, with a review date | It is stable and supported, and the business does not need it to change | "Retain" used to avoid deciding; write down the conditions that would reopen it |
| Rehost | Move it to new infrastructure with no code change | The hosting is the problem: a data center exit, hardware at end of life | Carrying every old problem to a new bill; rehosting changes location, not design |
| Replatform | Move it and change selected components, such as a managed database or supported runtime | Specific parts are out of support or costly, and the logic is sound | Scope growing into an unplanned rewrite; list the components that change and hold to it |
| Refactor | Restructure or rewrite the code, usually in increments, keeping the business behavior | The business needs frequent change, the logic is valuable and specific to you, and the current structure blocks change | A full rewrite hiding under the word; insist on increments that each reach production |
| Replace | Adopt a package or SaaS product, or build a different system, and migrate | The function is common and a product does it well enough | Customizing the product into the old system; change the process to fit where you can |

Three questions settle most cases.

**Does the function set the business apart from its competitors?** Payroll and the general ledger do not, nor does email, so products can replace them, whereas a pricing engine or underwriting rule set that competitors lack does, so you keep that logic and refactor around it.

**Does anyone understand the rules inside it?** If no one can explain the system's behavior in awkward cases, a rewrite will rediscover each rule in production through incidents, so recover the rules first from code and data and from the people who handle exceptions.

**What is the cheapest move that removes the actual risk?** An unsupported database version calls for a replatform and an expiring data center lease for a rehost, and a refactor bought to solve a hosting problem is money spent on the wrong thing.

Record each decision with its reasons and the rejected alternatives.

## Step 4: sequence the work

Once dispositions are chosen, the order of the work largely decides whether the program keeps going, and we sequence by four considerations.

1. **Deadlines you do not control**, such as vendor end of support, contract expiry, a data center lease or a regulatory date, fix some positions in the order.
2. **Dependencies** matter because a system that many others call cannot move before its consumers are ready unless it keeps its old interface alive, so draw the dependency graph from the inventory and move the systems with few inbound connections first.
3. **Risk retired per unit of effort** favors doing retirements and rehosts early, since they cost little and shrink the estate, which builds goodwill.
4. **Learning** means the first refactor or replacement should be a small, visible slice that reaches production in weeks and exercises the whole delivery path, including deployment, monitoring, data synchronization and rollback.

A plan along these lines usually takes the following shape.

| Wave | Contents | Purpose |
| --- | --- | --- |
| 0 | Inventory, scoring, decisions, delivery pipeline, observability, a test baseline for the systems that will change | Make later waves possible |
| 1 | Retirements, simple rehosts, one thin slice of the first refactor | Reduce the estate, prove the path |
| 2 | Replatforms with fixed dates, further slices, the first package replacement | Build pace, with funding released on results |
| 3 and later | The large, entangled core, taken apart slice by slice | Tackled last, with a practiced team |

Fund the program wave by wave, with each wave leaving the estate in a state you could accept if the money stopped. That discipline is what keeps a program from stalling in the way described in [why transformation programs stall in their second year](https://farside.works/insights/why-transformation-programs-stall/).

One sequencing rule has no exceptions: a system without tests gets a safety net around its current behavior before anyone changes it. Characterization tests capture real inputs and outputs to record what the system does today whether or not it is correct, so they make no claim about correctness but do tell you when you have changed something. They are the first piece of [quality engineering](https://farside.works/services/software-engineering/quality-engineering/) in any modernization.

## Step 5: run old and new in parallel

For anything bigger than a small system, a single cutover weekend is a bet that everything was understood in advance, so it is safer to run both systems together and move work across in pieces. The standard form is the strangler fig pattern, named by Martin Fowler, in which a routing layer is placed in front of the old system, one capability is built in the new system and its traffic routed there, and the process is repeated until nothing reaches the old one. [The strangler pattern in practice](https://farside.works/insights/strangler-pattern-in-practice/) covers the engineering in detail.

Parallel running uses several techniques.

| Technique | How it works | Use it for |
| --- | --- | --- |
| Shadow traffic | The new system gets a copy of real requests; its responses are compared, then discarded | Proving correctness on reads and calculations before any user depends on it |
| Parallel run | Both systems process the same work, and outputs are reconciled before either is trusted alone | Financial calculations, billing, anything with a regulator or an auditor |
| Canary routing | A small group of users or one region is served by the new system | Finding operational problems at limited scale |
| Feature flags | A switch per capability decides which system serves it | Fast rollback without a deployment |

Four rules keep parallel running from turning into a second problem.

**Each piece of data has one owner at any moment.** For every entity, such as customer, order or policy, declare which system is currently the system of record and let the other hold a copy, because two systems both accepting writes to one record will disagree in ways synchronization never fully repairs, and move ownership across in planned steps, entity by entity.

**Synchronization goes through a defined mechanism.** Change data capture, which reads committed changes from the database log, is a common way to feed the new system from the old one without modifying the old code, with Debezium as one open-source example and managed equivalents offered by most cloud providers. Events published by the new system flow in the other direction, and every consumer should be idempotent because both mechanisms can deliver the same change more than once.

**Translation happens at the boundary.** A translation layer, often called an anti-corruption layer in domain-driven design, keeps the old system's data model, including its field names and status codes, out of the new code, and gives you one place to delete when the old system is retired.

**Reconciliation runs every day.** A report compares counts and totals along with a sample of records across the two systems, and each difference it lists is a defect in the new system, an old defect people had learned to live with, or a rule never written down, all worth finding before cutover. This integration work is ordinary [application modernization](https://farside.works/services/software-engineering/application-modernization/) practice and needs as much design attention as the new system itself.

Set the end date for parallel running when it begins, since two systems mean two sets of licenses and support rotas plus constant synchronization work.

## Data migration decides the cutover

Teams tend to plan the code and then discover the data, which reflects every rule the old system ever had, including rules removed years ago, so expect fields reused for a different purpose, codes with no lookup value, mandatory fields filled with placeholders, and records the old system tolerates but the new one will reject.

The migration work should cover these points.

- Profile the real data for value distributions, nulls, orphans and duplicates in wave 0, not the month before cutover.
- Write the field mapping as a reviewed document, with a business owner signing off the rule for each awkward case.
- Decide what will not migrate, since closed records older than the retention period usually belong in a queryable archive rather than the new system.
- Build the migration as repeatable code run end to end many times, not as one-off scripts.
- Rehearse the full migration against a production copy at least twice and time it, because the rehearsal sets the length of the cutover window.
- Define the reconciliation checks that prove the migration, from record counts and financial totals to a record-by-record comparison of a sample.

## Stage gates for each system

Every system passes the same gates, each on evidence, with the decision written down.

| Gate | Passed when |
| --- | --- |
| 1. Decide | Inventory entry complete, disposition chosen with reasons, business and technical owners named, success measure agreed |
| 2. Prepare | Characterization tests in place, delivery pipeline working, data profiled, interfaces confirmed from logs, rollback approach written |
| 3. First slice live | One real capability in production in the new system, monitored, with reconciliation running |
| 4. Parallel run | Agreed share of work on the new system, reconciliation differences at or below the agreed level for an agreed period, support team trained |
| 5. Cut over | Full migration rehearsed, go or no-go criteria met, rollback tested, business owner signs |
| 6. Decommission | Old system read-only, then off; data archived to meet retention; licenses ended, servers removed, interfaces and jobs deleted, documentation updated |

Gate 6 is the one most often skipped, so decommissioning belongs in the plan and budget from the start, with the savings from switching off treated as part of the business case that must be collected.

## An order system on an unsupported platform

Consider a mid-size manufacturer whose order management runs on a client-server application with a database version its vendor no longer supports. The estate also holds a reporting server, a label printing service and a document archive, along with a custom pricing module that encodes customer-specific contract terms.

The inventory shows that the reporting server had three users in the past year and that only the order system calls the document archive, and the logs reveal two consumers missing from every list, a warehouse team's spreadsheet that queries order tables directly and a nightly file sent to a logistics partner.

The decisions follow from the scores. The reporting server is retired and its three reports rebuilt in the existing analytics tool, the archive is rehosted because it works and only its hardware is a concern, and the label service is retained with a review date. The order system's database is replatformed first onto a supported version, which removes the most urgent risk cheaply and buys time. The pricing module is refactored, because the business changes contract terms every quarter and each change currently takes weeks, and order capture itself is marked for later replacement by a package once pricing has been separated from it.

The first wave contains the retirement and the database move, together with a thin slice of the pricing work in which one customer group's price calculation is served by a new service in shadow mode and every result is compared with the old module. The comparison exposes a rounding rule and a discount that applies only to orders entered before a cutoff time, neither of them documented, so both become tests. The warehouse spreadsheet is given a supported view to query so that the order tables are free to change.

The success measures are agreed before work starts: lead time for a pricing change, incidents attributed to the order system, and the date the old pricing module is deleted.

## The common failure modes

- **A big-bang rewrite** runs for years with nothing in production and is judged against a target that keeps moving, which is avoided by working in slices that each go live.
- **Treating feature parity as the goal** means rebuilding every old screen and report, including unused ones, instead of starting from usage data and the current process.
- **Modernizing the technology while keeping the process** produces new code that reproduces a workflow designed around the old system's limits, so the process should be reviewed before the replacement is specified.
- **Business rules get lost** when logic lived only in code or in one person's head, and recovering them takes characterization tests and shadow runs as well as the people who handle exceptions.
- **Two systems run indefinitely** when parallel running has no end date or decommissioning budget.
- **Data is left until the end**, and the migration is discovered to be the critical path a month before cutover.
- **A rehost is presented as transformation** when a move to cloud infrastructure changes the invoice and nothing else. A rehost is a legitimate choice under its right name, and [cloud migration](https://farside.works/services/cloud-infrastructure/cloud-migration/) with a rollback plan is real engineering, but it does not count as a refactor.
- **The package is customized** to match the old system until upgrades become impossible.

## What to do in the first thirty days

1. Name one person accountable for estate decisions, with authority in both business and technology.
2. Build the inventory for the systems that matter most from logs and schedulers as well as interviews, marking every missing owner.
3. Score each system with the reasons written down, and place each one on the two-by-two.
4. Choose a provisional disposition for each system and list the fixed external dates.
5. Pick three early moves: one retirement, one low-risk rehost or replatform, and a thin slice of the first refactor or replacement.
6. Start characterization tests and data profiling for that slice now.
7. Write the gate criteria and the success measures, and agree who signs off each gate.
8. Put decommissioning dates into the plan for everything marked retire, refactor or replace.

An independent read of the estate before the budget is committed is often worth its cost, especially where the people closest to each system hold strong, opposing views. One way to get it is a two-week review that produces a written assessment, risks ranked by what would actually stop you, and a 90-day plan. Whoever does it, the assessment should end with a decision for each system, a first wave that fits in a quarter, and a date on which something old gets switched off.
