# HashiCorp Raft

> Go implementation of the Raft consensus protocol

Source: https://talira.ai/catalog/hashicorp-raft-jw9qwp2z
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / distributed systems / consensus](https://talira.ai/categories/libraries/distributed-systems/consensus), [languages / go](https://talira.ai/categories/languages/go)
- Licence: MPL-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MPL-2.0).
- Free tier: yes[^1]
- Backed by: [HashiCorp](https://talira.ai/orgs/hashicorp.md)
- Funding: acquired by IBM (2025)[^2]

HashiCorp Raft is a Go library that implements the Raft consensus protocol: it manages a replicated log and, with your finite-state machine, replicated state machines for building consistent, partition-tolerant (CP) systems. Its log and stable stores are pluggable, with raft-mdb (LMDB) recommended and raft-boltdb as a pure Go option. Version 1 adds server identities by UUID, non-voting servers, an address provider abstraction and more resilient snapshots. HashiCorp's Consul uses it.

## Links

- GitHub: https://github.com/hashicorp/raft
- Docs: https://pkg.go.dev/github.com/hashicorp/raft

## Problems it solves

- keep state consistent across a cluster of my Go servers when one fails
- elect a leader among several Go service instances
- build a replicated key-value store in Go on a consensus protocol

## Features

- replicated log driving your finite-state machine
- pluggable LogStore and StableStore (raft-mdb, raft-boltdb)
- non-voting servers
- server identities by UUID
- snapshots
- address provider abstraction in the transport layer

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 0.63, adoption 0.79, momentum 0.54, community 0.86, backing 0.55, extensibility 0.00.

- last commit 6 days ago
- 4 commits in the last 90 days
- latest release v1.8.0 2 months ago
- 9.2k GitHub stars
- 137 contributors
- backed by HashiCorp
- funding: acquired by IBM (2025)

## Sources

[^1]: https://github.com/hashicorp/raft/blob/main/LICENSE (checked 29 Nov 2026)
[^2]: https://newsroom.ibm.com/2025-02-27-ibm-completes-acquisition-of-hashicorp,-creates-comprehensive,-end-to-end-hybrid-cloud-platform (checked 20 Nov 2026)
