raft-rs
spec
raft-rs | spec | |
---|---|---|
3 | 1 | |
2,802 | 4 | |
0.7% | - | |
5.9 | 1.8 | |
19 days ago | almost 3 years ago | |
Rust | ||
Apache License 2.0 | Apache License 2.0 |
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-rs
-
Why you should code in Rust in 2021
Raft-rs : Raft consensus protocol implemented in Rust by PingCap.
-
7 years of open-source Go database development: lessons learned
Go has really rich standard and community libraries when it comes to networking layer. iirc, there is no good Rust raft library like the one from Hashicorp. There is one from TiDB, but it requires you to write other components of the Raft.
-
Service discovery library in Rust?
https://github.com/tikv/raft-rs probably gets you close. I seem to remember that the "gossip" protocol is helpful and not a part of Raft.
spec
-
Service discovery library in Rust?
This is definitely not what you are looking for but I thought it might be interesting to mention my "service determination" (opposite of service discovery but trying to achieve the same goal) toy as well :) Five years ago, I wrote the IPGen Spec (https://github.com/ipgen/spec) which outlines a way to generate unique and reproducible IP addresses in a stateless manner. Naturally, it can be used for service discovery.
What are some alternatives?
rust - Official implementation of the IPGen Spec in Rust
rust-mdns-discover - A multicast DNS client in Rust
rqlite - The lightweight, distributed relational database built on SQLite.
riteraft - RiteRaft - A raft framework, for regular people
memberlist - Golang package for gossip based membership and failure detection
rust-beanstalkd - Easy-to-use beanstalkd client for Rust (IronMQ compatible)
sled - the champagne of beta embedded databases
RedisLess - RedisLess is a fast, lightweight, embedded and scalable in-memory Key/Value store library compatible with the Redis API.
MeiliSearch - A lightning-fast search API that fits effortlessly into your apps, websites, and workflow
rraft-py - Unofficial Python Binding of the tikv/raft-rs