# lni/dragonboat

A feature complete and high performance multi-group Raft library in Go.

Repository: https://github.com/lni/dragonboat
Canonical: https://ross.abutalabs.com/products/dragonboat
Language: Go
License: Apache-2.0
License Family: permissive
Topics: raft, paxos, golang, go, distributed-systems, raft-protocol, raft-algorithm, consensus, replicated-state-machines, distributed-storage, distributed-consensus
Last push: 2025-07-23T14:39:30+00:00

## Health v2 (maintenance only)
Score: 38/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 33, release rhythm 8, longevity 100
- inputs: {"age_days": 2810, "days_push": 406, "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 5324, forks 572 (observed 2026-08-28T04:09:15.637692+00:00)

## What it is
Dragonboat is a feature-complete, high-performance multi-group Raft consensus library written in pure Go. It lets developers build strongly consistent, fault-tolerant distributed applications by handling leader election, log replication, snapshotting, and membership changes.

## Use cases
- build a replicated state machine in Go
- implement fault-tolerant distributed storage
- add strong consistency to a distributed system
- run multiple Raft groups for sharded consensus
- build a highly available key-value store
- replicate application state across servers

## When to choose
- you need a production-grade Raft implementation in Go
- you need to run many Raft groups at scale
- you want disk-based or memory-based state machine support
- you need TLS mutual authentication and pipelining for high-latency networks

## When to avoid
- you need a ready-made distributed database rather than a library
- your project is not in Go
- you only need single-node persistence without consensus
- you prefer an off-the-shelf etcd-style service over embedding a library

## Facets
- artifact type: library
- maturity: stable
- function: concurrency, database, middleware
- domain: microservices, databases, developer-tools
- platform: go, windows, cross-platform
- tags: raft, consensus, replicated-state-machine, fault-tolerance, multi-group, linux, macos

## Member repositories
- lni/dragonboat (main) score 38

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:15.637692+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-29T17:58:54.817733+00:00, confidence not recorded.
  - readme: https://github.com/lni/dragonboat (fetched 2026-08-28T04:09:15.637692+00:00, sha b5af6647e89b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
