baidu/braft
소개
brpc를 기반으로 한 산업 수준의 C++ RAFT 합의 알고리즘 구현으로, Baidu 내부에서 고가용성 분산 시스템을 구축하는 데 널리 사용됩니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalOverview
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 .. && makePlay braft with examples.
Installing from vcpkg
You can download and install
braftusing the vcpkg dependency manager:git clone https://github.com/Microsoft/vcpkg.git cd vcpkg ./bootstrap-vcpkg.sh ./vcpkg integrate install ./vcpkg install braftThe
braftport in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.
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:
Discussion
- Add Weixin id zhengpf__87 or xiongk_2049 with a verification message 'braft', then you will be invited into the discussion group.
관련 프로젝트 살펴보기
불러오는 중…