Skip to content

Region failover strategy #106

Closed Answered by koculu
bar10dr asked this question in Q&A
Discussion options

You must be logged in to vote

ZoneTree does not provide a consensus algorithm, and you can use any algorithm that you wish.

ZoneTree provides opIndex to correctly order outgoing writes asynchronously. Depending on your algorithm choice, you may need the opIndex.
A simple Replicator class that replicates data to a secondary location is also in the repository:

https://github.com/koculu/ZoneTree/blob/main/src/ZoneTree/Core/Replicator.cs
https://github.com/koculu/ZoneTree/blob/main/src/ZoneTree.UnitTests/ReplicatorTests.cs

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by koculu
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