Architecture  ·  22 November 2026  ·  4 min read

Replacing a legacy system one capability at a time

Big-bang rewrites fail for predictable reasons. Routing work around the old system one capability at a time keeps the business running while the new system earns trust.

Most legacy rewrites follow the same arc. The plan is two years. The new system reaches feature parity on paper in three, misses the rules nobody wrote down, and the cutover weekend is postponed twice. Meanwhile the old system has kept changing, because the business could not stop.

There is a slower-sounding approach that is usually faster in practice: replace the system one capability at a time, with old and new running side by side until each piece has earned trust.

Why big-bang rewrites stall

  • Hidden behaviour. A system that has run for fifteen years encodes decisions that exist nowhere else: rounding rules, special cases for one customer, a batch job that quietly repairs yesterday's data. A rewrite rediscovers them in production.
  • A moving target. The old system cannot be frozen for two years. Every change made to it is a change the rewrite has to chase.
  • No value until the end. The business funds years of work and receives nothing until cutover, which leaves the programme exposed at every budget review.
  • All the risk in one weekend. Cutover concentrates every unknown into a single event, with no partial rollback.

Put a seam in front of the old system

The first piece of work is not new functionality. It is a routing layer between the system's callers and the system itself: an API gateway, a reverse proxy or an event interceptor, depending on how the system is reached. Once every request passes through a seam you control, individual capabilities can be sent to new code while everything else still goes to the old system.

This is often called the strangler fig pattern, after the plant that grows around a tree until the tree is no longer needed. The name matters less than the property it gives you: at every point the business runs on a working system, and any slice can be routed back if it misbehaves.

Choose the first slice carefully

The first capability you move sets the programme's credibility. Good first slices share four traits:

  1. Loosely coupled: few calls into the rest of the old system.
  2. Read-heavy: serving data before changing it keeps the blast radius small.
  3. Visibly useful: a report that takes minutes instead of hours, or a screen that finally works on a phone.
  4. Contained data: the slice can own or read its data without untangling the core schema.

The core ledger, the pricing engine, the part everyone is nervous about: those come later, once routing, deployment and parity checks have been proven on something smaller.

Data is the hard part

Routing requests is straightforward. Data is not, because old and new systems usually need to see the same truth for months. The safest pattern is for each migrated capability to own its data, with changes flowing back to the old system through change data capture or an explicit sync, so that the parts not yet migrated keep working.

Avoid dual writes from application code, writing to both systems in the same request, unless there is a clear plan for when one write succeeds and the other fails. That gap is where the reconciliation problems that take weeks to unpick come from.

Prove parity before switching

Before a slice takes real traffic, run it in parallel: send the same inputs to both systems, compare the outputs and log every difference. The discrepancy log becomes the most useful document the programme produces. Each entry is either a bug in the new system or an undocumented rule in the old one, and both need a decision. When the log has been quiet for an agreed period, switch the route, and keep the old path available for rollback until the next slice is live.

RiskBig-bang rewriteIncremental replacement
When value arrivesAt cutover, after yearsWith the first slice, within months
Undocumented rulesFound in productionFound in the parallel-run log
RollbackAll or nothingPer capability, by changing a route
Changes to the old systemChased by the rewriteAbsorbed slice by slice
Cutover riskConcentrated in one eventSpread across many small switches

Know when to stop

The last part of a legacy system is often features almost nobody uses. Before migrating them, check whether they can simply be retired. Then set a decommission date for the old system and hold to it. A modernisation that leaves both systems running indefinitely has doubled the estate rather than replaced it.

The one-paragraph version

Do not rewrite a legacy system in one go. Put a routing seam in front of it, move one well-chosen capability at a time, let each migrated piece own its data with changes synced back, and prove parity with a parallel run before switching traffic. Value arrives with the first slice, undocumented rules surface in a log rather than in production, and every step can be rolled back.

Written by the Bytescope Tech engineering team from live engagement work. If you want to argue with any of it, or you have a case where the opposite held, tell us. Those are our favourite emails.

Next step

Tell us what you're trying to ship.

Send the brief, the RFP, or three messy sentences. An architect replies in writing within two working days, not with a sales deck.

Start a project