etcd-io/raft
Raft library for maintaining a replicated state machine observed · 2026-09-03
Health v2 · maintenance only
85/100
- Activity 100
- Release rhythm 58
- Longevity 98
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 502
- age_days: 1375
- days_rel: 71
- days_push: 0
- n_releases_24m: 2
Adoption not part of the score
1107 stars · 270 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library implementing the core Raft consensus algorithm for maintaining a replicated state machine across a cluster of nodes. It deliberately excludes networking and storage, leaving transport and persistence layers to the user for maximum flexibility and determinism.
Use cases
- build a replicated state machine with raft consensus
- implement leader election and log replication in a distributed system
- add consensus to a distributed database or key-value store
- implement linearizable read-only queries in a cluster
- learn how the raft consensus algorithm works in production code
When to choose
- you need a battle-tested, production-proven raft implementation powering etcd, Kubernetes, CockroachDB, and TiDB
- you want full control over networking and storage layers
- you need a deterministic, minimal core algorithm library
- you need advanced features like membership changes, leadership transfer, and log compaction
When to avoid
- you want an out-of-the-box distributed system with networking and storage included
- you need a monolithic raft solution with built-in transport
- your project is not written in Go
Facets
library · maturity stable
concurrency developer-tools microservices databases go cross-platform raft consensus replicated-log distributed-consensus state-machine-replication algorithms
1 source
- readme: https://github.com/etcd-io/raft · fetched 2026-09-03 · c0ebf0434fb6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| etcd-io/raft | main | 85 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem