A strongly consistent distributed key-value store library built on Raft consensus protocol and RocksDB.
Rockraft is a Rust library that provides distributed consensus for data replication, ensuring high availability and fault tolerance for distributed systems. It combines the power of:
- OpenRaft - A production-ready Raft consensus implementation
- RocksDB - High-performance embedded database
- ✅ Strong Consistency - All nodes maintain consistent state through Raft consensus
- ✅ Fault Tolerance - Automatic leader election and failover
- ✅ High Performance - RocksDB storage with efficient serialization
- ✅ Easy Setup - Simple configuration and cluster initialization
- ✅ Snapshot Support - Efficient storage recovery and compaction
- ✅ Connection Pooling - Optimized gRPC connection management
- ✅ Multi-Node Support - Scale from single node to large clusters
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
- GitHub Issues: Report bugs or request features
- Discussions: Ask questions and share ideas
- Documentation: API Reference
- example/ - Complete cluster working example