Migration Planning

https://newsletter.pragmaticengineer.com/p/real-world-engineering-challenges

tl;dr Migration plan What do we need to consider?

  • Downtime
  • Data consistency
  • Rollback plan
  • Observable and measurable
  • Team awareness

Common steps

  • Dual reads / writes -> old database is primary
  • Backfilling
  • Compare and validate the new database
  • Dual reads / writes -> new database is primary
  • Remove old database
sticker #2
Subscribe to Dwarves Memo

Receive the latest updates directly to your inbox.