Swapping the Engine Mid-Flight: Migrating a Live System
summary
A high-traffic real-time decision engine is replaced live with no user-visible change by building an observable control loop: shadow/replay testing that diffs every response on real traffic, switchable runtime routing that flips authority in seconds (not deployments), and automated config-drift detection plus staged rollouts by failure domain. The rollout experiments (1%, 5%, 10% taught that percentages don’t explain per-request fate), side-effect suppression prevents shadow from becoming a second prod, and rollback is rehearsed and succeeds.
AI-written summary · about
chapters (15)
- 0:00Introduction and context
- 1:11Zero downtime requirements
- 3:22Control loop for migration
- 4:25Shadow and replay technique
- 5:29Switchable workflow explained
- 7:15Switchable flow at runtime
- 9:23Explicit request evaluation states
- 10:27Configuration drift detection
- 11:49Staged rollouts by risk
- 12:56Roll back as a capability
- 14:00Lessons from early mismatches
- 15:27Shadow system side effects
- 16:10Hidden costs of zero downtime
- 16:53Reusable migration playbook
- 17:59Plan roll back before moving forward
