Architecture
How Do You Replace a Legacy Core System Without Stopping the Business?
· 8 min read · Anton Babayan, Founder
Nobody can take the business offline for a weekend any more, and the big-bang cutover was always a bet that every unknown would land in the same forty-eight hours. The way through is to put a seam in front of the old system, move one capability at a time, and run both until the old one has nothing left to do.
Put a facade in front of the old system
Every caller stops talking to the legacy system directly and talks to a layer in front of it instead. At first that layer does nothing but pass requests through, which feels like wasted work and is the most valuable month of the programme: from then on you can move one capability behind it without anything that calls it noticing.
The hard part is rarely the facade. It is finding every caller. Core systems of any age have integrations nobody remembers, and a scheduled job on a server nobody owns will find you later. Spend real time on that inventory, including network traces rather than documentation alone.
Move the edges before the middle
The instinct is to start with the hardest part to prove it can be done. The better order is the opposite: take a capability that is self contained, read-heavy and visible, and move that first. It proves the seam works, gives the team a rehearsal of the whole path, and produces something worth showing after two months rather than after two years.
Leave the ledger, the pricing engine, the calculation everything depends on, for when the route is well worn. Those are the pieces where a subtle difference between old and new is expensive, and you want the mechanism proven before you get there.
One owner per piece of data
While both systems are live, each piece of data has exactly one system that owns it. Never both. Two writers to the same record will diverge, and the divergence surfaces as a customer complaint rather than as an alert.
Everything else reads a copy. A reconciliation job compares the two continuously and alerts on drift, and it has to run from day one rather than being added when something goes wrong. A reconciliation nobody has watched in the good times is not trusted in the bad ones.
Run new code in the shadows first
Before a capability is switched over, run the new implementation alongside the old one on real traffic, discard its output, and compare. This is the cheapest bug-finding available: production data, production volume, no consequence if the new path is wrong.
It routinely surfaces behaviour nobody knew the old system had, usually a rounding rule or an edge case added years ago for a reason that is no longer written down. Better to find those in a comparison report than in a reconciliation break.
Every step has a way back
Each migrated capability goes behind a switch that can be flipped back without a deployment, and it stays there until the new path has run long enough to be boring. The temptation is to remove the switch once things look fine. Keep it until the old code is deleted.
How long this takes
For a core system of real size, think in years rather than months. That is uncomfortable to say and it is what the work is. The thing that makes it survivable is that value arrives throughout: each capability moved is a capability that can now change at normal speed.
A programme that delivers nothing until a final cutover will be cancelled before it reaches one. Most failed migrations we have seen were not technically wrong. They ran out of patience.
The short version
Facade first, and find every caller. Move edges before the middle. One owner per piece of data, with continuous reconciliation. Shadow-run new code against real traffic before trusting it, keep a switch back for every step, and make sure something useful ships every quarter.
Frequently asked questions
Can you replace a legacy core system without downtime?
Yes, by replacing it in pieces rather than at once. A facade in front of the old system lets new functionality be served by new code while everything else continues to be served by the old one, and the share moves over time.
Why do big-bang cutovers fail so often?
Because every unknown lands on the same weekend, and the only way back is a rollback that loses whatever happened since the switch. Incremental replacement turns one large risk into many small ones, each of which can be reversed on its own.
How do you keep two systems consistent while both are live?
One system owns each piece of data, never both. Everything else reads a copy and a reconciliation job compares the two continuously, alerting on drift rather than discovering it at month end.
How long does replacing a core system take?
For a system of real size, think in years rather than months, with value delivered throughout rather than at the end. A programme that delivers nothing until the final cutover will be cancelled before it gets there.
Related reading
- Can You Deploy AI for AML in a UAE-Regulated Bank?
- How Long Does It Take to Build a Digital Bank MVP?
- Integrating UAE PASS: What to Expect
- Where Can Your AI Data Live? Data Residency in the UAE
- How Do You Stop an LLM Hallucinating in a Regulated Product?
- Should You Build or Buy Your Enterprise AI?
- What Does an AI Pilot Actually Cost?
- Do You Need a Data Platform Before You Can Use AI?