Skip to content
YellowPages

Playbook · 1 min read

The Strangler Fig Playbook for Legacy Modernization

How to modernize a legacy system piece by piece without a risky big-bang rewrite, with the steps we follow on every program.

Maya ThompsonCo-founder & CTO

Big-bang rewrites fail more often than they succeed. The strangler fig pattern offers a safer path: grow the new system around the old one until the old one can be removed.

1. Put a facade in front

Route all traffic through a layer you control, such as an API gateway or proxy. This is what lets you redirect individual requests to new services later.

2. Pick the first slice carefully

Choose a domain that is valuable, reasonably isolated, and painful today. Avoid the most tangled core first; build confidence on something smaller.

3. Build, then run in parallel

Implement the slice in the new architecture. Run old and new side by side, comparing results on real traffic before switching over.

4. Switch with a flag

Move traffic gradually: internal users, then 5%, then 50%, then everyone. Keep the rollback path ready.

5. Remove the old code

This step is often skipped. Do not skip it. Every retired piece of legacy code reduces cost and risk.

6. Repeat

Each slice gets faster as patterns, tooling, and team confidence grow.

What makes it work

Executive patience, strong automated testing, and a clear map of the domains. With those in place, modernization becomes routine rather than heroic.

  • Modernization
  • Architecture
  • Microservices

Proof

See it in practice

Logistics & Supply ChainOrbital Freight

Half the cloud bill, none of the downtime

How we migrated a logistics platform to Kubernetes and applied FinOps practices to cut monthly cloud spend by 58% with zero downtime.

Lower monthly cloud spend
58%
Lower monthly cloud spend
Downtime during migration
0 min
Downtime during migration
More frequent deployments
12x
More frequent deployments
#AWS#Kubernetes#Terraform
Fintech & BankingQuanta Labs

From quarterly releases to daily, without a rewrite

Incrementally modernizing a 15-year-old payments monolith into event-driven services, taking releases from quarterly to daily.

More frequent releases
90x
More frequent releases
Lower infrastructure cost
45%
Lower infrastructure cost
Payment outages during migration
0
Payment outages during migration
#Java#Spring Boot#Kafka

Read next

Keep reading

Article

RAG vs Fine-Tuning: How to Choose in 2026

Retrieval and fine-tuning solve different problems. A plain-language guide to choosing between them, and when to combine the two.

RAGLLMArchitecture

Have something ambitious in mind?

Tell us where you are and where you want to be. A solution architect will reply within one business day.

Search services, case studies, and insights