raft
raft is a golang library that provides a simple, clean, and idiomatic implementation of the Raft consensus protocol (by shaj13)
dragonboat-example
Examples for Dragonboat (by lni)
raft | dragonboat-example | |
---|---|---|
1 | 1 | |
104 | 171 | |
- | - | |
2.7 | 2.1 | |
13 days ago | 8 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
raft
Posts with mentions or reviews of raft.
We have used some of these posts to build our list of alternatives
and similar projects.
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.
What are some alternatives?
When comparing raft and dragonboat-example you can also consider the following projects:
etcd - Distributed reliable key-value store for the most critical data of a distributed system
hashring - Consistent hashing "hashring" implementation in golang (using the same algorithm as libketama)
Robust IRC - RobustIRC - an IRC network without netsplits, implemented in Go using the Raft consensus algorithm
dragonboat - A feature complete and high performance multi-group Raft library in Go.
mit-6.824-distributed-systems - Template repository to work on the labs from MIT 6.824 Distributed Systems course.
raftkv - A simple distributed key-value store by using hashicorp/raft
memberlist - Golang package for gossip based membership and failure detection
raft - An implementation of the Raft consensus protocol.