libraft

License

Overview

libraft is a C++ raft library,based on the RAFT consistency algorithm,inspired by etcd/raft.

Features

Dependencies

Build

# first build dependencies(if system include these dependencies,just ignore it)
./bootstap.sh

# second build libraft
mkdir build
cd build
cmake ..
make

# run tests
./bin/libraft_test

Documents

Contribution

Acknowledgement

libraft was ported from Etcd's raft module etcd/raft with some optimizing and improvement. Thanks to the etcd team for opening up such a great RAFT implementation.

License

libraft is licensed under the Apache License 2.0.