The Strangler Fig pattern replaces an old system gradually: a layer in front routes each function to the old or the new system, and modules are swapped one at a time, with comparison and a rollback path, until the old system can be switched off.
The name comes from a fig tree that grows around another tree until it replaces it completely. In software modernization the idea is the same: the new system grows around the old one, function by function, without stopping operations.
How it works
- A layer in front. A router, proxy or API receives user requests and decides where each one goes.
- The first new module. We pick a low-risk, high-value module and build it in the new system.
- Comparison. For a while, the new module’s results are compared with the old one’s.
- Switch. When results match, the layer starts sending that function to the new system.
- Repeat with the next module until nothing is left in the old system.
Why it’s safer
- The company is never without a system.
- If something goes wrong, the layer routes back to the old system in minutes.
- Each stage is small, testable and paid separately.
- Users stay on the same address and barely notice the change.
Things to watch
- Shared data. Both systems must read and write consistently during the transition.
- Module order. Starting with something too central raises the risk; starting with something too isolated adds no value.
- Discipline to finish. Without a plan, a company can run both systems for years.
It’s the model we use in migrations like Delphi to web and .NET Framework to .NET 8.
Frequently asked questions
Do users notice the switch?
Very little. They stay on the same address, and each new module goes live with hands-on support.
How long do both systems coexist?
As long as it takes to migrate every module. The plan sets the order and timeline of each stage so coexistence has an end date.
Does it work for desktop systems?
Yes. The layer lives in the API and database, and modules move from desktop to web one by one.
Want to modernize without stopping the business?
We build the staged plan, with module order, comparison against the old system and a rollback path at every switch.
Step-by-step modernization: fixed-price assessment