Skip to content
Shivacha — Simplifying Tech Solutions
Shivacha DigitalReference architecture

Incremental replacement of a legacy monolith

Our strangler-pattern approach for replacing a critical legacy system domain by domain without downtime.

This is a reference architecture describing how Shivacha approaches this class of system. It does not describe a specific client engagement and contains no client names or results.

Challenge

A business-critical monolith has slow releases, outdated dependencies and undocumented rules. A full rewrite is too risky; standing still is too costly.

Context

Common in banking, insurance, logistics and public sector organisations with systems built over many years.

Approach

How we approach it

  1. 1

    Characterise behaviour

    Build tests and extract business rules from code and production data.

  2. 2

    API facade

    Route consumers through a facade that can direct traffic to old or new implementations.

  3. 3

    Domain-by-domain replacement

    Extract the highest-value, lowest-coupling domains first.

  4. 4

    Parallel running

    Compare outputs of old and new paths before switching.

Architecture

System design

Technology

Incremental replacement of a legacy monolith
4Consumers
WebPartnersBatch jobs
3Facade
API gatewayRouting rulesFeature flags
2Implementations
Legacy monolithNew domain services
1Data
Change data captureSyncReconciliation

Implementation

Key implementation elements

Change data capture

Keep legacy and new stores consistent during migration.

Reconciliation jobs

Detect divergence between old and new outputs.

Progressive cut-over

Per-customer or per-feature routing changes.

Decommission checklist

Retire legacy components safely.

Outcome

The approach aims to deliver continuous value and reduced risk: each extracted domain ships independently, and the legacy footprint shrinks steadily rather than in one risky event.

Lessons

  • Characterisation tests are the safety net for everything that follows.
  • Parallel running turns cut-over from a leap of faith into an evidence-based decision.
  • Documenting rediscovered business rules has value beyond the migration.

Next step

Discuss a similar project.

Building something like "Incremental replacement of a legacy monolith"? Tell us about your goals and constraints and we will reply with an approach and next steps.

  • Senior engineer reads every enquiry
  • Reply within one business day
  • NDA on request

Prefer to talk first?

Book a 30-minute call, or message the nearest team on WhatsApp.

Book a Call

Your details are used only to reply to this enquiry.

Step 1 of 2Your details

Confidential. We reply within one business day. Privacy