3 ms·
Interesting. I've done dual-writes at the application level to migrate the datastore for a smaller feature (branch by abstraction), but never for an entire app
by tomhallett 5y ago
Interesting. I've done dual-writes at the application level to migrate the datastore for a smaller feature (branch by abstraction), but never for an entire application. And the code path was quite simple, so it was easy to think about all of the edge cases at one time in your head.
Do you have any resources which talk through the read/write/backfill approach?
Here's what I found so far:
* https://medium.com/google-cloud/online-database-migration-by-dual-write-this-is-not-for-everyone-cb4307118f4b https://medium.com/google-cloud/online-database-migration-by...
* https://aws.amazon.com/blogs/architecture/middleware-assisted-zero-downtime-live-database-migration-to-aws/ https://aws.amazon.com/blogs/architecture/middleware-assiste...
- bastawhiz 5y agoJumping in again... Your post reminded me that I actually typed my migration up! https://mattbasta.medium.com/migrating-from-heroku-to-aws-6d334d1640fd https://mattbasta.medium.com/migrating-from-heroku-to-aws-6d... Hopefully it's somewhat helpful!