sofastack/sofa-jraft
A production-grade java implementation of RAFT consensus algorithm. observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 87
- Release rhythm 57
- 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: 336
- age_days: 2739
- days_rel: 79
- days_push: 78
- n_releases_24m: 2
Adoption not part of the score
3817 stars · 1199 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SOFAJRaft is a production-grade, high-performance Java implementation of the RAFT consensus algorithm, ported from Baidu's braft. It supports multi-raft-group deployment for high-load, low-latency scenarios and includes an embedded distributed KV storage implementation.
Use cases
- build a replicated state machine in Java
- implement a fault-tolerant distributed key-value store
- add leader election and log replication to a distributed system
- achieve linearizable reads with ReadIndex or lease-based reads
- run multiple raft groups for high-throughput sharded storage
- verify cluster consistency under network partitions
When to choose
- you need a battle-tested, Jepsen-verified RAFT implementation on the JVM
- you want snapshotting, log compaction, and membership changes out of the box
- you need multi-raft-group support for high-load, low-latency workloads
- you prefer a pure Java library with Maven Central availability
When to avoid
- you need a C++ or non-JVM RAFT implementation
- you only need a simple single-node storage solution without replication
- your project requires a language other than Java or JVM compatibility
Facets
library · maturity stable
concurrency developer-tools sdk microservices databases developer-tools jvm windows cross-platform raft consensus replication multi-raft jepsen-tested distributed-storage high-availability algorithms linux macos
2 sources
- readme: https://github.com/sofastack/sofa-jraft · fetched 2026-08-28 · 8293b4125f12
- homepage: https://www.sofastack.tech/projects/sofa-jraft/ · fetched 2026-08-29 · 44136fa355b3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sofastack/sofa-jraft | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="sofastack/sofa-jraft")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem