Skip to content
forked from baidu/braft

This is a fork from https://github.com/baidu/braft . The purpose of this repo is to experiment with build blocks of incremental snapshot(raft log compaction).

License

Notifications You must be signed in to change notification settings

zergvszerg/braft

 
 

Repository files navigation

Build Status


An industrial-grade C++ implementation of RAFT consensus algorithm and replicated state machine based on brpc. braft is designed and implemented for scenarios demanding for high workload and low overhead of latency, with the consideration for easy-to-understand concepts so that engineers inside Baidu can build their own distributed systems individually and correctly.

It's widely used inside Baidu to build highly-available systems, such as:

  • Storage systems: Key-Value, Block, Object, File ...
  • SQL storages: HA MySQL cluster, distributed transactions, NewSQL systems ...
  • Meta services: Various master modules, Lock services ...

Getting Started

  • Build brpc which is the main dependency of braft.

  • Compile braft with cmake

    $ mkdir bld && cd bld && cmake .. && make
  • Play braft with examples.

Docs

About

This is a fork from https://github.com/baidu/braft . The purpose of this repo is to experiment with build blocks of incremental snapshot(raft log compaction).

Resources

License

Stars

Watchers

Forks

Languages

  • C++ 92.6%
  • Shell 3.9%
  • CMake 2.1%
  • Clojure 1.1%
  • Starlark 0.3%