Skip to content

lichuang/rockraft

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors