Migration · demo 22
Strangler Fig: migrating route by route
A façade in front of the legacy system takes its functions away one route at a time, in favour of the new one. Each switch happens live and is undone in one request; what nobody declared stays with the legacy system.
Reduced motion: the scene is paused; use "Step" or "Play".
What to watch
- The routing table is the demo's:
lookupalready on the new system,operationsin shadow, the rest on the legacy one;GET /branches, undeclared, never leaves the legacy system. - In shadow, both systems are called: the client gets the legacy answer, the new one's is compared then thrown away. Divergences are counted, without anyone seeing them.
- Switch
transfers: it is a write, shadow mode is refused (it would debit twice), it goes straight to the new system. Rollback brings it back in one request.