dragonboat-example
Examples for Dragonboat (by lni)
hashring
Consistent hashing "hashring" implementation in golang (using the same algorithm as libketama) (by serialx)
dragonboat-example | hashring | |
---|---|---|
1 | 1 | |
171 | 557 | |
- | - | |
2.1 | 10.0 | |
8 months ago | almost 4 years ago | |
Go | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dragonboat-example
Posts with mentions or reviews of dragonboat-example.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-03.
-
Is it possible to have more than 1 master available for writes in a raft system?
Yes, "joint consensus" took me a while to comprehend. If you check dragonboat examples there is one ( https://github.com/lni/dragonboat-example/tree/master/ondisk ) which shows how to perform migrations between nodes simply by copying snapshots. There are few open questions (eg. how does it scale up? does it always need to copy everything to target node first or could it be reimplemented with option for streaming?) but it looks quite promising.
hashring
Posts with mentions or reviews of hashring.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-03.
-
Is it possible to have more than 1 master available for writes in a raft system?
What is commited to config group log is then base to spin out multi-group raft; I'm using consistent hashing currently because of API: https://github.com/serialx/hashring but soon I plan to migrate to rendezvous hashing either by finding out similar library or by rewriting API hashring to rendezvous (algorithm is quite trivial so it isn't big deal)
What are some alternatives?
When comparing dragonboat-example and hashring you can also consider the following projects:
dragonboat - A feature complete and high performance multi-group Raft library in Go.
memberlist - Golang package for gossip based membership and failure detection
raft - raft is a golang library that provides a simple, clean, and idiomatic implementation of the Raft consensus protocol
mit-6.824-distributed-systems - Template repository to work on the labs from MIT 6.824 Distributed Systems course.