GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lualgorithm/braft: An industrial-grade C++ implementation of RAFT consensus algorithm based on brpc, widely used inside Baidu to build highly-available distributed systems.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

640 Commits
640 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bazel
bazel
 
 
benchmark
benchmark
 
 
cmake
cmake
 
 
docs
docs
 
 
example
example
 
 
jepsen
jepsen
 
 
src
src
 
 
test
test
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
BUILD
BUILD
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
WORKSPACE
WORKSPACE
 
 
build_in_travis_ci.sh
build_in_travis_ci.sh
 
 
glog.BUILD
glog.BUILD
 
 
leveldb.BUILD
leveldb.BUILD
 
 
openssl.BUILD
openssl.BUILD
 
 
zlib.BUILD
zlib.BUILD
 
 

Repository files navigation

Build Status


Overview

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

  • Read overview to know what you can do with braft.
  • Read benchmark to have a quick view about performance of braft
  • Build Service based on braft
  • Access Service based on braft
  • Cli tools
  • Replication Model
  • Consensus protocol:
    • RAFT
    • Paxos
    • ZAB
    • QJM

Discussion

  • Add Weixin id zhengpf__87 or xiongk_2049 with a verification message 'braft', then you will be invited into the discussion group.

About

An industrial-grade C++ implementation of RAFT consensus algorithm based on brpc, widely used inside Baidu to build highly-available distributed systems.

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.