spacewalkhq / raft-rs

An understandable, fast and scalable Raft Consensus implementation
MIT License
129 stars 21 forks source link
byzantine-consensus consensus distributed-computing distributed-systems raft-consensus-algorithm rust

Raft-rs

An understandable, fast, scalable and optimized implementation of Raft consensus algorithm. It is asynchronous(built on tokio runtime) and supports zero-copy. It does not assume storage to be non-malicious, if corrupted, it will repair the logs via peer-to-peer communication.

Note

Goals

To-Do

How to Run the Project

  1. Ensure you have Rust installed. If not, follow the instructions here.
  2. Clone the repository:
    git clone https://github.com/your-username/raft-rs.git
    cd raft-rs
  3. Run the project:
    cargo run --example simple_run
  4. Release the project:
    cargo build --release

Contributing

Contributions are welcome! If you have any ideas, suggestions, or issues, please feel free to open an issue or a pull request. We aim to make this project better with your help.

License

This project is licensed under the MIT License. For more information, please refer to the LICENSE file.

Contact

For any questions or feedback, please reach out to [vaibhaw.vipul@gmail.com].