Skip to content

akiradeveloper/lolraft

Repository files navigation

lolraft

Crates.io API doc CI MIT licensed

A Multi-Raft implementation in Rust language.

Documentation

146726060-63b12378-ecb7-49f9-8025-a65dbd37e9b2

Features

スクリーンショット 2024-03-11 7 54 06

  • Implements all core Raft features for production use.
  • Supports Multi-Raft. Mutliple Raft processes can coexist in a single OS process so they can share resources efficiently.
    • Tested with 1000 shards.
    • Batched heartbeat optimization is implemented.
  • Based on Tonic and efficient gRPC streaming is exploited in log replication and snapshot.
  • Phi Accrual Failure Detector is used for leader failure detection. The adaptive algorithm allows you to not choose a fixed timeout number in prior to deployment and makes it possible to deploy Raft node in even geo-distributed environment.

Author

Akira Hayakawa
EMail: ruby.wktk@gmail.com