apache/ratis
Open source Java implementation for Raft consensus protocol. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 3501
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
1474 stars · 453 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Apache Ratis is a highly customizable Java library implementing the Raft consensus protocol for managing replicated logs and state. It offers pluggable transport (gRPC, Netty, Hadoop RPC), state machine, Raft log, and metrics layers, plus a LogService recipe for distributed log management.
Use cases
- replicate application state across multiple Java instances
- build a highly available replicated log for my system
- implement a custom state machine with consensus
- add fault-tolerant data replication to a Java service
- build a distributed log service
- understand and experiment with the Raft consensus algorithm
- replace ZooKeeper-style coordination with an embeddable library
When to choose
- you need Raft consensus embedded in a Java/JVM application
- you want pluggable transport, log, state machine, and metrics layers
- you need high-throughput data replication rather than a standalone coordination server
- you want an Apache-licensed, actively maintained consensus library
When to avoid
- you need a standalone, out-of-the-box coordination server like ZooKeeper or Consul
- your stack is not on the JVM
- you only need simple leader election without a replicated log
- you need a consensus protocol other than Raft
Facets
library · maturity stable
rpc serialization monitoring concurrency microservices developer-tools databases jvm cross-platform raft consensus replicated-log state-machine-replication grpc apache
3 sources
- readme: https://github.com/apache/ratis · fetched 2026-08-28 · e76f7455d680
- homepage: https://ratis.apache.org/ · fetched 2026-08-29 · 98e987e694e2
- site_page: https://ratis.apache.org/logservice · fetched 2026-08-29 · 2f4a0d4fd421
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apache/ratis | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem