Step 10 of 36 · Technical strategy
Migrations and how to finish them
Starting a migration is easy. The value arrives only when the old system is switched off, and that last stretch is yours.
Most large technical change arrives as a migration, and many stall partway. A half-finished migration is worse than none: two systems to run, and every new engineer has to learn both.
Treat finishing as the goal from the first day. Prove the new path on one or two hard cases before asking anyone to move. Make it the default for new work. Then do as much of the moving as you can centrally, with tooling, so that other teams review a change instead of planning a project.
Track the remaining users of the old system as a count that only goes down. Agree up front who owns the last stubborn cases and who has the authority to switch the old system off.
Try this week
- List every migration in flight in your area with its remaining count and a date for switching off the old path.
- For one stalled migration, find the three hardest remaining users and talk to their owners this week.
Signs you've got it
- Every migration in your area has an owner, a remaining count and a shutdown date.
- You have deleted an old system in the last year, or stopped a migration that was not worth finishing.
Resources
- articleMigrations: the sole scalable fix to tech debt (opens in a new tab)Will Larson
- articleStrangler Fig (opens in a new tab)Martin Fowler
- bookDeprecation (Software Engineering at Google, chapter 15) (opens in a new tab)Hyrum Wright
- guidePatterns of Legacy Displacement (opens in a new tab)Ian Cartwright, Rob Horn and James Lewis
- bookLarge-Scale Changes (Software Engineering at Google, chapter 22) (opens in a new tab)Hyrum Wright