{"id":13893611,"url":"https://github.com/spacewalkhq/raft-rs","last_synced_at":"2025-07-17T08:30:44.037Z","repository":{"id":250543761,"uuid":"834138576","full_name":"spacewalkhq/raft-rs","owner":"spacewalkhq","description":"An understandable, fast and scalable Raft Consensus implementation","archived":false,"fork":false,"pushed_at":"2024-09-13T03:51:27.000Z","size":66,"stargazers_count":129,"open_issues_count":12,"forks_count":21,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-24T22:32:12.591Z","etag":null,"topics":["byzantine-consensus","consensus","distributed-computing","distributed-systems","raft-consensus-algorithm","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spacewalkhq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-26T13:56:02.000Z","updated_at":"2024-10-27T08:02:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"daee3c11-cb04-4d14-ab16-de71eed96253","html_url":"https://github.com/spacewalkhq/raft-rs","commit_stats":null,"previous_names":["spacewalkhq/raft-rs"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/spacewalkhq/raft-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewalkhq%2Fraft-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewalkhq%2Fraft-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewalkhq%2Fraft-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewalkhq%2Fraft-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacewalkhq","download_url":"https://codeload.github.com/spacewalkhq/raft-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewalkhq%2Fraft-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265585272,"owners_count":23792712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["byzantine-consensus","consensus","distributed-computing","distributed-systems","raft-consensus-algorithm","rust"],"created_at":"2024-08-06T18:00:54.429Z","updated_at":"2025-07-17T08:30:43.786Z","avatar_url":"https://github.com/spacewalkhq.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Raft-rs\nAn understandable, fast, scalable and optimized implementation of [Raft consensus algorithm](https://en.wikipedia.org/wiki/Raft_(algorithm)).\nIt 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.\n\n## Note\n- This project is still under development and is not yet production-ready. It is not recommended to use this in production environments.\n\n- We are actively working on this project to make it better and more reliable. If you have any suggestions or feedback, please feel free to open an issue or a pull request. This is true until we reach version 1.0.0.\n\n- Release every 2 weeks.\n\n## Goals\n- [x] Understandable\n- [x] Fast\n- [x] Scalable\n- [x] Zero-Copy support\n- [x] Asynchronous\n- [x] Default Leader\n- [x] Leadership preference\n- [x] Log compaction\n- [x] Snapshot Support\n- [x] Tigerbeetle style replica repair\n- [x] Dynamic cluster membership changes support\n- [x] Test for dynamic cluster membership changes\n\n## To-Do\n- [ ] Production-ready\n- [ ] Test replica repair thoroughly\n- [ ] io_uring support for linux\n- [ ] Complete batch write implementation\n- [ ] Improve Log compaction\n- [ ] RDMA support\n- [ ] Deterministic Simulation Testing\n- [ ] Benchmarking\n\n## How to Run the Project\n1. Ensure you have Rust installed. If not, follow the instructions [here](https://www.rust-lang.org/tools/install).\n2. Clone the repository:\n   ```sh\n   git clone https://github.com/your-username/raft-rs.git\n   cd raft-rs\n   ```\n3. Run the project:\n   ```sh\n   cargo run --example simple_run\n   ```\n4. Release the project:\n   ```sh\n   cargo build --release\n   ```\n\n## Contributing\nContributions 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.\n\n## License\nThis project is licensed under the MIT License. For more information, please refer to the [LICENSE](LICENSE) file.\n\n## Contact\nFor any questions or feedback, please reach out to [vaibhaw.vipul@gmail.com].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewalkhq%2Fraft-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacewalkhq%2Fraft-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewalkhq%2Fraft-rs/lists"}