Articles

Online migrations at scale

Feb 2, 2017 Stripe System DesignDatabases

Stripe's playbook for the unglamorous but high-stakes work of migrating a live, heavily-used data model — hundreds of millions of Subscriptions objects, no downtime, no data loss allowed — without ever pausing the business to do it. The dual-write-then-backfill-then-cutover pattern they describe is the one I reach for on every schema migration of consequence, because it's the only approach I've seen actually survive production edge cases. Read this before your next "just add a migration" turns into an incident.

Read the full article ↗

← Back to all articles