Strategies for Updating Legacy Software Without Disrupting Business Operations

Every enterprise knows exactly what’s holding it back. The COBOL core banking platform nobody wants to open. The AS/400 inventory engine still humming along from 2004. A monolith that three engineers understood, and all three left the company years ago. So the update gets pushed. Next quarter. Then next year. The fear is blunt: touch the wrong module, and payments stop, records vanish, or support for thousands of customers just goes dark. "Rewrite it from scratch over one long weekend" — sounds bold on a whiteboard. In production, it rarely survives contact with reality. And the cleanup afterward often runs into the millions. For background, see our recent coverage.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

The Danger of Clean-Slate Rewrites

Here’s the thing about a full rewrite: it treats a legacy system as a known quantity. It isn’t. Not even close. Fifteen, twenty years of patches, workarounds, business logic quietly buried in stored procedures — nobody has the full map anymore. Not the CTO. Not the vendor who built it originally. Not the team maintaining it today. A clean-slate rewrite bets the entire company on the idea that all of that hidden logic can be reverse-engineered and rebuilt before go-live. Most companies lose that bet.

The classic failure pattern looks like this:

  • A "big bang" cutover date gets fixed months in advance, often tied to a budget cycle rather than technical readiness
  • Testing focuses on the happy path, because edge cases in a twenty-year-old system are numerous and poorly documented
  • The old system gets decommissioned too early, leaving no fallback when something breaks
  • Data migration runs as a single overnight batch job, with no window to catch corruption before it hits production

Sounds familiar? It should. Retailers, airlines, banks — each has had its own version of this story make the news over the past decade, usually involving a frozen point-of-sale network or a payroll system that suddenly stopped issuing paychecks. The pattern repeats because the incentive behind it keeps looking reasonable right up until it isn’t: ship the new thing, retire the old thing, declare victory.

This is exactly why companies gradually decoupling monolithic systems, refactoring legacy code, and executing safe database migrations tend to bring in an experienced application modernization company rather than run the cutover internally on a fixed deadline — continuity of business operations across every phase of the transition is the actual deliverable, not just the new codebase.

The Strangler Fig Pattern: Replacing the Monolith Without Stopping It

Martin Fowler named it well. The Strangler Fig pattern borrows its logic from the vine that grows around a host tree, gradually taking over its structural role until the original trunk becomes irrelevant — without ever being felled outright. Applied to software, the idea is simple enough to say out loud: build new functionality as independent services in front of the legacy system, catching specific requests while everything else keeps flowing through the old monolith, untouched and unbothered.

How the routing actually works

A reverse proxy or API gateway sits between users and the backend. Day one, every request routes straight to the legacy system. As each module gets rebuilt (pricing engine first, maybe, then order validation, then customer notifications) the gateway gets reconfigured to peel off just that slice of traffic to the new microservice. The rest keeps hitting the monolith exactly like it always did.

And that’s the whole appeal, really:

  • Routing changes are reversible in minutes, not months, the moment a new service misbehaves
  • Old and new logic can run side by side for a while, outputs compared before anyone fully commits to the cutover
  • Stakeholders watch continuous, incremental delivery instead of holding their breath for one high-stakes launch night

Thoughtworks has published extensively on this approach, and it’s become close to a default recommendation for any enterprise architecture practice doing modernization work. Accenture and Capgemini both run structured strangler-pattern engagements for banking and insurance clients, typically sequencing the decomposition around domain boundaries rather than technical convenience. IBM’s mainframe modernization practice applies the same principle to z/OS environments — exposing discrete COBOL transaction sets as callable services one at a time, instead of attempting a full platform migration in one go.

Pace matters more than people expect here. Rush the strangler process, and it defeats its own purpose — cut six modules over in the same release window, and the ability to isolate a failure to one specific change disappears. Suddenly you’re back to big-bang risk, just wearing a different costume.

Safe Database Migration and Dual-Write Events

Moving the application layer is one problem. Moving the data underneath it is a different, often harder one — especially when terabytes of transactional history need to stay queryable for years, with regulators watching.

Dual-write migration is the standard technique here. Rather than dumping everything in a single batch job and hoping it lands clean, the application writes every transaction to both databases at once for a set period. Reads keep coming from the legacy source while the new database quietly builds up a complete, live copy in the background.

Why the sequencing matters

  • Backfill first. Historical data moves over in batches, timed for the quiet hours, with checksums confirming row-for-row parity between old and new before anyone trusts the numbers
  • Dual-write second. Once the backfill catches up to real time, new writes go to both systems — this is the phase where discrepancies get caught, not created
  • Read cutover third. Traffic shifts to reading from the new database only after a sustained stretch — often two to four weeks — with zero unexplained divergence
  • Decommission last. The legacy write path stays active as a rollback option well after cutover, not ripped out the moment the new system looks stable

A regional bank running a core-banking migration off a legacy Oracle instance and onto a cloud-native Postgres cluster shrank its forced technical maintenance window from 14 hours to roughly 8 minutes — by dedicating a replication channel exclusively to the cutover event, rather than running it over the general network during a scheduled outage. That’s the kind of number that actually convinces a risk committee. Not "reduced migration risk." A specific, measurable technical window.

Cognizant and Infosys both run dedicated dual-write tooling as part of their cloud migration practices for financial services clients — largely because regulators in that sector want documented proof of reconciliation, not just a completed cutover. Kyndryl’s mainframe-to-cloud offerings follow a comparable pattern for data still resident on z/OS DASD storage.

API Wrappers and Legacy Isolation

Nobody said you need to touch the legacy system’s internals to modernize around it. API wrappers — anti-corruption layers, if you want the domain-driven-design term for it — build a translation boundary between new applications and old systems. The mainframe doesn’t need to learn REST, JSON, or OAuth. It just keeps doing what it’s always done, while the wrapper handles the back-and-forth translation.

This matters enormously for systems where the underlying platform genuinely can’t be touched without triggering a compliance re-certification. Think core insurance claims engines or banking clearing systems, where a single code change to the mainframe transaction set can mean months of regulatory revalidation.

Three things a wrapper worth its salt usually handles:

  • Protocol translation — CICS transactions, 3270 screen-scraping, turned into RESTful endpoints
  • Data format conversion — EBCDIC to UTF-8, fixed-width COBOL copybooks reshaped into JSON schemas
  • Authentication bridging, so modern OAuth clients can talk to systems built well before OAuth was even a concept
  • Rate limiting and circuit breaking, protecting an underpowered legacy backend from a microservices architecture calling it far more often than it was ever designed to handle

Kyndryl and IBM both maintain purpose-built middleware for exactly this kind of mainframe exposure work, and it’s a real part of why enterprises with heavy z/OS footprints haven’t simply walked away from the platform. The wrapper lets new development happen entirely outside the mainframe’s release cycle — which, for a lot of shops, still runs quarterly, sometimes annually.

Metrics That Actually Matter to IT Leadership

None of this matters if nobody can measure whether it’s working. And the metrics that matter to a CIO reporting to a board aren’t abstract — they’re operational numbers that map directly onto business risk.

  • Deployment frequency. How often can a change ship without a change-advisory-board fire drill? Teams running strangler-based modernization commonly move from monthly or quarterly releases to weekly or daily deploys for the modernized components, while the legacy-side cadence stays exactly where it was
  • Unplanned downtime. Not "downtime during the maintenance window" — unplanned, customer-facing outages. This is the number that should trend toward zero as isolation between old and new systems improves
  • Latency under load testing. New microservices need benchmarking against the legacy system’s response times before cutover, not after. A wrapper or new database that adds 200ms to a transaction that used to take 40ms will surface as a customer complaint, even if everything else technically works fine
  • Rollback time. How long to revert a single service to its previous version if a release misbehaves? Under five minutes is a reasonable target once CI/CD pipelines mature. Anything requiring a manual database restore isn’t really a rollback safety net — it just looks like one on a slide

Does tracking all four sound like overhead? Maybe. It’s a lot less overhead than an incident review explaining to the board why the payments platform sat dark for six hours.

Modernization done this way isn’t fast, and it isn’t cheap either. But it’s the difference between a multi-year transformation customers never notice and a headline about an outage that takes months to live down — technically and reputationally both.

Related articles

Elias Virtanen

Elias Virtanen

Games and consoles

Elias Virtanen covers games and consoles for Tech Insider: console and handheld hardware, game releases, emulators and the business of the games industry. His comparisons start from the makers' specifications and published independent results, and he says plainly what the evidence supports.

View all articles