A fully-functional industrial-grade C++ implementation of RAFT consensus algorithm based on brpc.
braft is an approach of replicated state machine. It is widely used inside Baidu to build highly available distributed systems, such as:
- Various kinds of distributed storage: block, file, object, NoSQL, etc.
- Highly available MySQL cluster.
- Distributed transaction and NewSQL system.
- Meta services in cloud computing to manage a large scale of clusters, virtual machines and containers.
braft is designed and implemented for high workload and high throughput scenarios. And it makes efforts to reduce overhead of latency. With braft you can easily build a distributed system just like writing a standalone server by defining your business logic as a finite state machine, and it's high performanced as well.