little-raft
raft-grpc-example
little-raft | raft-grpc-example | |
---|---|---|
7 | 1 | |
404 | 195 | |
- | - | |
0.0 | 3.0 | |
over 1 year ago | 9 months ago | |
Rust | Go | |
MIT License | The Unlicense |
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
raft-grpc-example
-
Raft Consensus Protocol
In general Hashicorp's repos are high quality:
https://github.com/hashicorp/raft
Example application: https://github.com/Jille/raft-grpc-example
What are some alternatives?
riteraft - RiteRaft - A raft framework, for regular people
raft - Golang implementation of the Raft consensus protocol
tigerbeetle - A distributed financial accounting database designed for mission critical safety and performance. [Moved to: https://github.com/tigerbeetledb/tigerbeetle]
ruaft - Raft implemented in Rust
uppercut - Small and simple actor model implementation.
tigerbeetle - The distributed financial transactions database designed for mission critical safety and performance.
Go-gRPC-RabbitMQ-microservice - Go gRPC RabbitMQ email microservice
politeia-rs - Decred Politeia in Rust
Ginrpc - gin auto binding,grpc, and annotated route,gin 注解路由, grpc,自动参数绑定工具