little-raft
vsr-rs
little-raft | vsr-rs | |
---|---|---|
7 | 2 | |
404 | 58 | |
- | - | |
0.0 | 5.2 | |
over 1 year ago | almost 1 year ago | |
Rust | Rust | |
MIT License | MIT License |
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.
little-raft
-
Show /r/rust: Viewstamped Replication for Rust
My perspective is that VSR seems much more easier to grasp than Raft based on reading and contributing to Ilya Andreev's Little Raft. The selection of primary replica ("leader election" in Raft), for example, is dead-simple in VSR (you maintain a deterministic order of nodes and round-robin). Also, VSR seems to do a better job at decoupling the different scenarios at protocol level (backup fell behind, crashed, etc.) whereas in Raft the AppendEntries is a big hammer that does everything. I have very little experience on Paxos so can't really compare it to VSR.
- Show HN: I implemented Raft in Rust in under 1k lines
- Raft Consensus Protocol
- Side Project: Raft distributed consensus algorithm implementation & CLI visualization in Rust
- Show HN: I Made a Raft Implementation and CLI Visualization in Rust
- Side project: Raft distributed consensus algorithm implementation & CLI visualization in Rust
vsr-rs
What are some alternatives?
riteraft - RiteRaft - A raft framework, for regular people
openraft - rust raft with improvements
raft-grpc-example - Example code for how to get hashicorp/raft running with gRPC
tikv - Distributed transactional key-value database, originally created to complement TiDB
raft - Golang implementation of the Raft consensus protocol
cita - A high performance blockchain kernel for enterprise users.
tigerbeetle - A distributed financial accounting database designed for mission critical safety and performance. [Moved to: https://github.com/tigerbeetledb/tigerbeetle]
anoma - Reference implementation of the Anoma protocols in Rust.
uppercut - Small and simple actor model implementation.
tigerbeetle - The distributed financial transactions database designed for mission critical safety and performance.
ruaft - Raft implemented in Rust
politeia-rs - Decred Politeia in Rust