Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sansnomme
· 7y ago · 0 comments
How do you do live migrations? Do you shard, then suspend existing queries, and finally redirect?
Comments
[–]
dianasaur323
7y ago
We 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
OP
7y ago
The good ol' event sourcing trick :D