All posts

Building a Raft cluster in Go

Exploring the internals of the Raft consensus algorithm by building a small cluster from scratch.

Nikhil Shinde/

Building Raft

Raft is a consensus algorithm that is designed to be easy to understand. It's used in systems like etcd and CockroachDB to maintain a consistent state across a cluster of nodes.

Building it from scratch taught me more about distributed systems than any textbook ever could.

Nikhil Shinde