Rust MIT

sorock

A Multi-Raft implementation in Rust.

A

akiradeveloper

Dernière activité 27 mai 2026
akiradeveloper/sorock

200

étoiles

21

forks

6

issues ouvertes

consensus-algorithmdistributed-lograftrust

Ce README est souvent en anglais.

Sorock

Crates.io API doc mdBook Documentation CI codecov MIT licensed

A Multi-Raft implementation in Rust.

Features

  • Supports Multi-Raft. Mutliple Raft processes can coexist in a single OS process so they can share resources efficiently.
    • Tested with 1000 shards per node.
    • Heartbeats in shards are batched to reduce the network overhead.
  • Based on Tonic and efficient gRPC streaming is exploited in log replication and snapshot.
  • Efficient backend implementation using redb.
    • Writes in shards are batched in one transaction.
  • Phi Accrual Failure Detector is used for leader failure detection.
    • The adaptive algorithm allows you to not choose a fixed timeout number before deployment and to deploy Raft node in even geo-distributed environment where the latency between nodes isn't identical.
  • phi-detector: Implementation of Phi Accrual Failure Detector in Rust.

Author

Name: Akira Hayakawa
Email: ruby.wktk@gmail.com

Projets similaires

Raft distributed consensus algorithm implemented in Rust.

Rustdistributed-consensus-algorithmsdistributed-systemsraft
Ttikv
3,4 k étoiles470

rust raft with improvements

Rustconsensusdistributed-systemsraft
Ddatabendlabs
2,1 k étoiles251

Golang implementation of the Raft consensus protocol

Go
Hhashicorp
9,1 k étoiles1,1 k