{"adoption": {"forks": 924, "observed_at": "2026-08-28T04:08:39.401565+00:00", "stars": 4228}, "canonical_url": "https://ross.abutalabs.com/products/braft", "card": {"archived": false, "artifact_type": "library", "description": "An industrial-grade C++ implementation of RAFT consensus algorithm based on brpc,  widely used inside Baidu to build highly-available distributed systems.", "domain": ["microservices", "databases", "infrastructure-as-code", "backend"], "enriched": true, "function": ["concurrency", "networking", "rpc", "developer-tools"], "health_score": 20, "homepage": null, "language": "C++", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["baidu/braft"], "name": "baidu/braft", "platform": ["cpp"], "pushed_at": "2024-10-25T07:22:09+00:00", "repo": "baidu/braft", "stars": 4228, "tags": ["raft-consensus", "replicated-state-machine", "brpc", "high-availability", "distributed-storage", "linux", "macos"], "topics": ["raft-consensus-algorithm", "raft", "raft-protocol", "raft-cpp", "raft-cxx", "distributed-storage", "distributed-consensus", "state-machine-replication"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/braft", "repo": "baidu/braft", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.401565+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:22:21.471255+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0761ebf863bfa55dda01e53139acdfae979208ac692974b0547cc9ee9e7d76db", "fetched_at": "2026-08-28T04:08:39.401565+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baidu/braft"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3129, "days_push": 677, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}