A feature complete and high performance multi-group Raft library in Go.
Dragonboat is a high-performance multi-group Raft consensus library written in pure Go, designed to handle the technical complexities of the Raft distributed consensus algorithm so developers can focus on their application logic. The library supports the full range of Raft features including leader election, log replication, snapshotting, membership changes, and read-only queries via the ReadIndex protocol, and it is extensively tested including with linearizability checkers. Dragonboat uses Pebble as its default storage engine for Raft logs but also supports RocksDB and custom storage backends, and it achieves industry-leading throughput—sustaining millions of writes per second on multi-node deployments with sub-5ms P99 latencies. The project is developed by an individual author (lni) and is licensed under Apache License Version 2.0.