rockraft 0.1.8

A strong consistency KV service library base on Raft and Rocksdb
docs.rs failed to build rockraft-0.1.8
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: rockraft-0.1.7

Rockraft

A strongly consistent distributed key-value store library built on Raft consensus protocol and RocksDB.

Rust License

Overview

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

Features

  • 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

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Acknowledgments

  • OpenRaft - Raft consensus implementation
  • RocksDB - High-performance database

Contact & Support

See Also

  • example/ - Complete cluster working example
  • CoreDB - A Redis-compatible distributed KV database built on top of Rockraft, demonstrating the library in production: strong consistency, automatic failover, and Redis protocol support (String/Hash/List/Set/ZSet, TTL, and more)