Skip to content

Consequences of sharing the same replication destination? #471

Closed Answered by benbjohnson
danthegoodman1 asked this question in Q&A
Discussion options

You must be logged in to vote

@danthegoodman1 As long as you can guarantee that none of your databases are backing up at the same time then you're ok. But that's tricky with distributed systems—even with leases. Clocks can skew and messages can get delayed so relying on a time-based lease has its downfalls.

If you need leader election & live read replicas, you can try looking at my other project called LiteFS which does all of that already. I'm working on streaming backups for that right now but you can also just perform a periodic backup using litefs export.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danthegoodman1
Comment options

Answer selected by danthegoodman1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants