3 ms·
How do you do live migrations? Do you shard, then suspend existing queries, and finally redirect?
by sansnomme 7y ago
How do you do live migrations? Do you shard, then suspend existing queries, and finally redirect?
- dianasaur323 7y agoWe spin up a separate instance that matches the type that you want to migrate to, restore a backup and stream the WAL logs. Then, we redirect.
- sansnomme 7y agoThe good ol' event sourcing trick :D