-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
There is a pattern that large systems use to handle data migration with zero time - Typically this involves a multi-step migration process:
- Add redundant tables or columns and begin writing to both
- Switch over reads to the new table/structure
- Stop writing to the old structure
- Delete the old structure
Etsy and Stripe have written about their experiences with this:
- Etsy: https://codeascraft.com/2012/04/20/two-sides-for-salvation/
- Stripe: https://stripe.com/blog/online-migrations
Hal currently uses the doctrine ORM for database management. We need to investigate if using such a pattern is even possible with it. Ideally migrations can happen safely and reliably enough that they can occur while using Continuous Deployment. Not only would this improve our own instance, but also provide a better experience to people using the open source version of Hal.
Metadata
Metadata
Assignees
Labels
No labels