Key takeaways
- Big-bang rewrites often run late and miss hidden business rules.
- The strangler approach replaces functionality gradually behind a stable front door.
- Start with the pieces that hurt most or change most often.
- Keep the old system running and retire it only when traffic and data have safely moved.
Many organisations depend on software that is difficult to change, runs on unsupported technology or is understood by only one or two people. The instinct is often to start again. A complete rewrite, however, usually takes longer than planned and can lose business rules that were never written down.
The strangler idea
Named after the strangler fig that gradually grows around a tree, the approach places a routing layer in front of the old system and replaces one capability at a time. Requests for migrated features go to the new component, and everything else still reaches the legacy system. Over time the old system carries less and less until it can be retired.
Steps in practice
- Understand the system. Map features, integrations, data and users. Capture business rules by reading code and talking to the people who use it.
- Add safety nets. Write tests around current behaviour so you can prove the new version matches it.
- Introduce the front door. A gateway or routing layer that lets you direct traffic per feature.
- Pick the first slice. Choose a feature that is valuable, reasonably self-contained and low in risk.
- Migrate data carefully. Decide which system owns each piece of data at each stage, and verify with reconciliation.
- Repeat and retire. Continue slice by slice, then switch off the old parts.
Benefits
- Value is delivered early and continuously.
- Risk is limited to one slice at a time and rollbacks are simple.
- The business keeps operating throughout.
When a rewrite is justified
Small, well-understood systems or those on a dead-end platform with little business logic can sometimes be replaced outright. For most core systems, incremental modernisation is the safer path.
An illustrative example
The following scenario is hypothetical and is included only to illustrate the ideas above.
A manufacturer relies on an old order-management application that few people understand. Rather than rewrite it, the team places a gateway in front, builds a new customer-quote module and routes only quote requests to it. Everything else continues to work as before.
After the quote module proves stable, they migrate order tracking, then invoicing. Over eighteen months the old application handles less and less until it is switched off, with no single risky cutover day.
How to start in the next 30 days
- Week 1: Map features, data and integrations.
- Week 2: Write tests that capture current behaviour.
- Week 3: Choose the first slice and design the routing layer.
- Week 4: Plan data reconciliation and success measures.
Common mistakes to avoid
- Rewriting everything at once. Big-bang rewrites often miss hidden rules and run late.
- Skipping documentation of behaviour. Without tests around existing behaviour, you cannot prove equivalence.
- Migrating data without reconciliation. Silent differences cause costly surprises.
- Keeping both systems forever. Set a retirement plan so the old system actually goes away.
- Ignoring users. Change management and training decide adoption.
A practical checklist
- Inventory features, integrations and data.
- Write characterisation tests around current behaviour.
- Introduce a routing layer or gateway.
- Choose a small, valuable first slice.
- Reconcile data between old and new.
- Measure and compare results after each slice.
- Plan a date and criteria for retirement.
Frequently asked questions
How long does modernisation take?
It depends on size, but incremental delivery means value arrives in months rather than at the end of a long project.
Can the old system keep running during the migration?
Yes. That is the main advantage of the strangler approach.
Is it cheaper than a rewrite?
Often it is, because risk and rework are lower, though the total depends on the system.
Questions to ask your team or vendor
Good answers are specific and evidence-based. Vague answers are a signal to dig deeper.
- What does the system do today? A documented feature and integration map.
- How will behaviour be verified? Tests that capture current outputs.
- What is the first slice? Valuable and low risk.
- How is data kept consistent? Defined ownership and reconciliation.
- How will we roll back? A simple routing switch.
- When is the old system retired? Dates and criteria.
Final thoughts
Modernisation succeeds when it is boring: small slices, measurable results and an old system that keeps working until it is no longer needed. Patience and evidence beat dramatic rewrites.
