Architecture & practice·Legacy systems and migration
you put a router in front and moved one endpoint at a time until the old service had no traffic left.
Strangler fig
Also calledstrangler pattern, strangler application
Replacing a system incrementally by intercepting its traffic and moving one piece of functionality at a time to the new implementation, until the old one can be deleted. Named after the vine that grows around a tree and remains when the tree is gone. It is the default alternative to a rewrite because every step is small, reversible and independently valuable, and because the migration can be paused indefinitely without leaving anything half-built.