Bigstrum
Bigstrum
Bigstrum
Book Consultation
All Insights
Core Modernisation·9 min read·Feb 2026
Core Modernisation

Strangling the Monolith: Zero-Downtime Migration for a Tier-1 Bank

Ripping out a 30-year-old mainframe while processing $5B in daily transactions. We detail the shadow-routing layer and dual-write database strategy that made the switch completely invisible to end users.

Category

Core Modernisation

Read Time

9 min

Published

Feb 2026

Stack

6 technologies

Overview

A tier-1 bank needed to decommission a 30-year-old COBOL mainframe that processed $5 billion in daily transactions. A hard cutover was out of the question. Any downtime window long enough to migrate cleanly would violate regulatory SLAs and trigger contractual penalties. The migration had to be invisible — to users, to auditors, and to the core banking system itself.

The Problem
  • 01

    The COBOL mainframe had no API surface — all integration was via batch file exchange and proprietary MQ queues

  • 02

    Transaction semantics varied by product line with undocumented edge cases accumulated over 30 years

  • 03

    Dual-write consistency had to be maintained across two fundamentally different transaction models simultaneously

  • 04

    Regulatory requirement: zero transaction loss with a full audit trail across both systems during transition

Our Approach

We implemented the strangler fig pattern with a custom shadow-routing proxy that intercepted all mainframe-bound traffic. Every transaction was dual-written: once to the mainframe (authoritative) and once to the new microservices layer (shadow). Comparison jobs ran continuously, flagging divergences for reconciliation. Traffic was shifted in 5% increments by product line over 14 months, with the mainframe remaining hot until the final product line reached 100% confidence.

Key Takeaways
  • 01

    Shadow routing with continuous reconciliation is the only safe approach when you cannot tolerate a single lost transaction

  • 02

    Migrate by product line, not by technical layer — it gives you a blast radius you can reason about

  • 03

    Undocumented business logic is the primary risk in legacy migration; instrument everything before you move anything

  • 04

    Keep the old system authoritative until you have 99.999% reconciliation confidence — not 99%

Article Details

Category

Core Modernisation

Read Time

9 min

Published

Feb 2026

Tech Stack

COBOLJava Spring BootKafkaPostgreSQLIstioAWS

Ready to build?

Start a similar project

View all insights

Next Insight

Edge Computing·Jan 2026

Sub-10ms Analytics: Pushing Inference to the Manufacturing Edge