jackyzha0 / miniraft

πŸš£β€β™€οΈ <1kloc, well-documented Raft consensus algorithm implementation

Home Page:https://jackyzha0.github.io/miniraft/miniraft/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://jackyzha0.github.io/miniraft/miniraft/

License:MIT License


Languages

Language:Rust 99.8%Language:Makefile 0.2%