# async-raft/async-raft

An implementation of the Raft distributed consensus protocol using the Tokio framework.

Repository: https://github.com/async-raft/async-raft
Canonical: https://ross.abutalabs.com/products/async-raft
Homepage: https://async-raft.github.io/async-raft
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: raft, consensus, rust, async, tokio
Last push: 2023-02-12T17:21:47+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2639, "days_push": 1298, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1092, forks 85 (observed 2026-08-28T04:03:33.300744+00:00)

## What it is
A Rust crate implementing the Raft distributed consensus protocol on top of the Tokio async runtime. It provides a reactive, fully async Raft node with pluggable storage and networking traits, pipelined log replication, and dynamic cluster membership support.

## Use cases
- build a replicated distributed data store in Rust
- add Raft consensus to a distributed database or KV store
- implement leader election and log replication over Tokio
- manage dynamic cluster membership changes in a distributed system
- replicate state machine logs across nodes asynchronously

## When to choose
- you are building a distributed storage system in Rust with Tokio
- you need a reactive, event-driven Raft implementation with pluggable storage and network backends
- you need dynamic membership changes, snapshots, and log compaction

## When to avoid
- you need a battle-tested, actively maintained Raft library — the project has seen limited activity since 2023
- you are not using Rust or the Tokio async ecosystem
- you need a ready-made distributed database rather than a consensus library to embed

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, microservices, developer-tools
- domain: microservices, databases
- platform: rust, windows, cross-platform
- tags: raft, consensus, tokio, async, replication, distributed-storage, algorithms, linux, macos

## Member repositories
- async-raft/async-raft (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.300744+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:49:01.098607+00:00, confidence not recorded.
  - readme: https://github.com/async-raft/async-raft (fetched 2026-08-28T04:03:33.300744+00:00, sha f0c45bbd733d)
  - homepage: https://async-raft.github.io/async-raft (fetched 2026-08-29T12:50:50.208342+00:00, sha 6eadbddeff02)
  - registry_crates: https://crates.io/api/v1/crates/async-raft (fetched 2026-08-29T12:50:50.212223+00:00, sha 46c69a59a219)
- Data as of 2026-08-30T08:39:29.467469+00:00.
