Key takeaways

  1. The legacy system remains operational until the replacement has been validated under real conditions.
  2. Instead of replacing the system and discovering defects after cutover, continuous migration validates behavior before control is transferred.
  3. Synthetic testing cannot reproduce the full variability of live environments.
  4. Reducing coexistence lowers short-term cost at the expense of higher, less recoverable risk.
  5. Migration decisions should be made at the component level, not the system level.

Questions answered in this article

What is continuous migration?
A set of related patterns that enable controlled system transition through coexistence and incremental validation.
Section
1
Which mechanisms make it work?
An API façade or routing layer, change data capture or dual writes, and shadow testing with replayed traffic.
Section
2
Isn't running two systems too expensive?
Continuous migration shifts cost forward to reduce systemic risk. Without coexistence, validation is deferred until after cutover, where failures are harder to contain and significantly more expensive.
Section
4
How long should coexistence last?
The higher the business criticality and the lower the system understanding, the longer the required coexistence period.
Section
5
Table of contents

Migration is not a delivery event. It is a controlled transition of system authority. Continuous migration keeps legacy and modern systems operational concurrently until equivalence is proven under real conditions. This increases short-term cost, but materially reduces systemic risk.

What continuous migration means

Continuous migration is a set of related patterns that enable controlled system transition through coexistence and incremental validation. The legacy system is not decommissioned until the new system has been proven to behave correctly under real operational conditions.

TermWhat it means in practice
Strangler figNew functionality built around the legacy system, which shrinks as modules are replaced
Dual-runBoth systems process the same transactions; outputs are compared
Parallel runOld system remains live; new system runs alongside without affecting production
Shadow testingNew system receives real traffic copies; results compared without affecting users
CoexistenceArchitectural state where old and new systems interoperate under defined boundaries

The distinction from traditional migration approaches is fundamental. Instead of replacing the system and discovering defects after cutover, continuous migration validates behavior before control is transferred.

Core mechanisms

These are not optional enhancements. They enable coexistence, validation, and controlled transition.

API façade / routing layer

The API façade establishes a boundary between system consumers and internal implementation. All incoming requests pass through this layer, allowing traffic to be routed to either the legacy or new system without changes on the caller side. The façade also provides direct control over traffic, allowing it to be shifted or reverted based on system behavior.

Change data capture (CDC) / dual writes

CDC and dual-write patterns decouple application migration from database cutover. This maintains data parity across environments. The new system operates on current data without requiring a full migration event, and rollback remains possible without data loss.

Shadow testing / replay traffic

Shadow testing replicates real production traffic and sends it to the new system without affecting live outputs. Comparator mechanisms analyze outputs to detect behavioral differences under real conditions before the new system becomes authoritative.

This is the only validation model that reflects actual production behavior.

Controlled routing, synchronized data, and output comparison keep legacy and modern systems operating together while the replacement is validated under real conditions.

Controlled routing, synchronized data, and output comparison keep legacy and modern systems operating together while the replacement is validated under real conditions.

Case studies

ScaleMechanisms usedOutcome
Banking scaleDual-run, traffic duplication, real-time comparatorSuccessful phased cutover
Global platformStrangler fig, routing dials, dual writesZero-downtime migration
Enterprise data platformBatch validation, large-scale data sync, CDCSuccessful data platform migration
Public sectorOrchestration layer, coexistence model, monitoring-firstSuccessful parallel operation

Dual-run at banking scale

One bank's program implemented dual-run at full banking scale. Incoming traffic to the legacy system was duplicated and processed simultaneously by both the mainframe and the new cloud-native platform. Outputs were compared at the transaction level using real-time comparator mechanisms.

Cutover was driven by validation, not schedule. Only once the new system consistently matched legacy behavior under production load was traffic progressively shifted and the legacy system decommissioned.

Strangler pattern execution

A global platform executed a large-scale migration using the strangler fig pattern. A routing layer controlled traffic flow between legacy components and newly developed microservices. Rollback was preserved throughout. Traffic could be redirected to legacy components if anomalies were detected, limiting exposure.

Data platform dual-run

One bank executed batch processes in parallel across legacy and cloud environments. Outputs from both systems were compared to validate correctness before the new platform became authoritative. The case demonstrates that in data-intensive systems, validation at scale depends on synchronization before replacement.

Orchestration and coexistence

A public-sector tax administration implemented a coexistence model centred on an orchestration layer coordinating interactions between legacy systems and new components. A monitoring-first approach established observability and validation before migration began. Legacy components were decommissioned in stages rather than replaced at once, reducing exposure and allowing issues to be isolated.

Cost of coexistence

The primary objection to continuous migration is cost. Coexistence requires running two systems in parallel, increasing operational overhead and extending timelines. This includes dual infrastructure, reconciliation efforts to compare outputs at scale, expanded monitoring, and the complexity of supporting parallel systems and data paths.

The trade-off is structural. Continuous migration shifts cost forward to reduce systemic risk. Without coexistence, validation is deferred until after cutover, where failures are harder to contain and significantly more expensive.

Coexistence is not inefficiency. It is a control mechanism. Reducing it lowers short-term cost at the expense of higher, less recoverable risk.

When to use which approach

Migration strategy should be determined by system conditions, not tooling preference or target architecture.

ConditionRecommended approach
Poorly understood business logicDiscovery and dependency mapping before any migration activity; or a highly compatible 1:1 technology migration where behavioral equivalence can be assured
High regulatory or customer impactDual-run with real-traffic validation; no calendar-driven cutover; or a highly automated 1:1 technology migration with strong equivalence evidence and a dual-run guarantee
Low-risk peripheral systemRehost, upgrade, or bounded rewrite; big-bang acceptable only where rollback is simple
Strong UI coupling with stable backendStrangler fig via API façade; or automated technology migration followed by further modernization over time
Data-layer change, database replacement, or logic moving from database to applicationData-first migration with schema mapping, behavioral validation, and CDC where old and new data stores must remain synchronized before application cutover
Automated conversion or technology-migration tooling availableUse automated 1:1 technology migration as the primary path where compatibility is high, supported by equivalence testing, manual resolution of exceptions, and staged refactoring after behavioral parity is achieved
Mixed criticality across system modulesDecompose the system first; apply different approaches per module boundary; or perform automated 1:1 technology migration first, then refactor and modernize modules progressively based on risk and business value

Large systems are rarely uniform. Most Delphi environments contain a critical core surrounded by lower-risk components. Migration decisions should therefore be made at the component level, not the system level.

Practical rule: The higher the business criticality and the lower the system understanding, the longer the required coexistence period. Coexistence duration should not be minimized. It is a risk control variable that must be actively managed based on system conditions.

Final verdict

Four decisions determine whether a migration succeeds before a single line of code is moved.

  • Define the right success metric. Cutover is not completion. Any program measured at go-live is measuring the wrong moment.
  • Sequence understanding before conversion. Discovery is not a delay. It is the work.
  • Budget for coexistence explicitly. Dual infrastructure, reconciliation overhead, and extended timelines are not inefficiencies. They are the mechanisms that make safe transition possible. Excluding them does not reduce cost. It defers risk.
  • Treat organizational constraints as technical ones. If governance cannot sustain coexistence, or leadership cannot tolerate incremental delivery, the primary risk is not architecture. It is execution.

Migration does not fail because the problem is unsolvable. It fails because organizations choose speed over control – and repeat outcomes that are already well understood.

Katarzyna Materka
Jarosław Wypychowski
CEO

Areas: New business, software modernization, R&D

LinkedIn profile