# eBay/NuRaft

C++ implementation of Raft core logic as a replication library

Repository: https://github.com/eBay/NuRaft
Canonical: https://ross.abutalabs.com/products/nuraft
Language: C++
License: Apache-2.0
License Family: permissive
Topics: cpp, replication, raft, consensus, network, distributed-systems, consistency, availability, raft-cpp, raft-cxx
Last push: 2026-08-13T16:45:21+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 2590, "days_push": 20, "days_rel": 520, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1201, forks 294 (observed 2026-08-28T04:03:58.250054+00:00)

## What it is
NuRaft is a C++ implementation of the Raft consensus algorithm packaged as a replication library. It extends the original Raft paper with production features like pre-vote, priority-based leader election, learners, async replication, and SSL/TLS support.

## Use cases
- build a replicated state machine in C++
- add fault-tolerant consensus to a distributed key-value store
- implement leader election across a cluster
- replicate logs reliably between servers
- create a highly available configuration store

## When to choose
- you need Raft consensus embedded in a C++ application
- you want production-hardened extensions like pre-vote and priority election
- you need cross-platform support including Windows
- you want a permissive Apache-2.0 licensed consensus library

## When to avoid
- you need a full turnkey distributed database rather than a library
- your stack is not C++
- you need a consensus protocol other than Raft
- you require Windows SSL support, which is not available

## Facets
- artifact type: library
- maturity: active
- function: rpc, concurrency, networking, database
- domain: microservices, databases, developer-tools
- platform: windows, cpp
- tags: raft, consensus, replication, distributed-consensus, state-machine-replication, high-availability, linux, macos

## Member repositories
- eBay/NuRaft (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:58.250054+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:20:40.744067+00:00, confidence not recorded.
  - readme: https://github.com/eBay/NuRaft (fetched 2026-08-28T04:03:58.250054+00:00, sha 8102418643da)
- Data as of 2026-08-30T08:39:29.467469+00:00.
