Skip to content

🚣‍♀️ <1kloc, well-documented Raft consensus algorithm implementation

License

Notifications You must be signed in to change notification settings

jackyzha0/miniraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniraft

A <1kloc, well-documented Raft consensus algorithm implementation

This crate is a minimal implementation of the Raft consensus protocol with a focus on readability/understandability.

All logic related to the Raft algorithm can be found under src. Main files of note are src/server.rs which contains the implementation for a single Raft node and src/log.rs which contains the implementation for an event log which is the basis for the replicated log at the core of Raft.

This project was created as an exercise in implementing and learning about distributed systems. Do NOT use this in production.

About

🚣‍♀️ <1kloc, well-documented Raft consensus algorithm implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published