Ross ROSS = Recommend OSS · open-source software intelligence for agents

baidu/braft

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

github.com/baidu/braft · C++ · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3129
  • days_rel: n/a
  • days_push: 677
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4228 stars · 924 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

braft is an industrial-grade C++ implementation of the RAFT consensus algorithm and replicated state machine, built on top of brpc. It is designed for high-throughput, low-latency scenarios and is widely used inside Baidu to build highly-available distributed systems such as storage engines, SQL clusters, and metadata services.

Use cases

  • build a highly-available distributed key-value store
  • implement leader election and log replication for a distributed system
  • replicate state across nodes for fault tolerance
  • build a metadata or lock service with strong consistency
  • add consensus to a NewSQL or distributed transaction system

When to choose

  • you need production-proven RAFT consensus in C++ with high performance
  • your stack already uses brpc or Baidu infrastructure
  • you are building distributed storage, SQL, or meta services requiring strong consistency

When to avoid

  • you need a consensus library in another language like Go, Java, or Rust
  • you want a batteries-included distributed database rather than a consensus library
  • your project cannot take a brpc dependency

Facets

library · maturity stable

concurrency networking rpc developer-tools microservices databases infrastructure-as-code backend cpp raft-consensus replicated-state-machine brpc high-availability distributed-storage linux macos

1 source

Member repositories

RepositoryRoleHealth v2
baidu/braftmain23

For agents

markdown · JSON · MCP: product_card(name="baidu/braft")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem