# goraft/raft

UNMAINTAINED: A Go implementation of the Raft distributed consensus protocol.

Repository: https://github.com/goraft/raft
Canonical: https://ross.abutalabs.com/products/goraft-raft
Language: Go
License: MIT
License Family: permissive
Archived: true
Last push: 2015-05-09T00:28:14+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4892, "days_push": 4135, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2428, forks 473 (observed 2026-08-28T04:06:50.945215+00:00)

## What it is
A Go library implementing the Raft distributed consensus protocol, providing leader election, log replication, configuration changes, and log compaction. It is explicitly unmaintained; its authors went on to build the Raft implementations used in etcd and InfluxDB.

## Use cases
- implement raft consensus in a go service
- replicate a state machine across a cluster of nodes
- learn how the raft consensus algorithm works
- build a replicated database with leader election
- study a reference raft implementation in go

## When to choose
- you need a simple, readable Go raft implementation for learning or research
- you are maintaining a legacy project already built on goraft

## When to avoid
- you need a production-grade, actively maintained raft library (use etcd/raft or hashicorp/raft)
- you need long-term support or bug fixes
- you are starting a new distributed systems project

## Facets
- artifact type: library
- maturity: abandoned
- function: rpc, concurrency, developer-tools
- domain: microservices, databases
- platform: go, windows
- tags: raft, consensus, replicated-log, leader-election, unmaintained, algorithms, linux, macos

## Member repositories
- goraft/raft (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.945215+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-30T02:31:33.262494+00:00, confidence not recorded.
  - readme: https://github.com/goraft/raft (fetched 2026-08-28T04:06:50.945215+00:00, sha b13c9f26e69a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
