Raft Distributed Consensus Simulation
Distributed systemsA working Raft cluster with a live dashboard showing consensus as it happens.
Built from scratch to understand the algorithm rather than use a library.
Implementing leader election, log replication and node failure recovery correctly, then surfacing cluster state in real time without distorting the behaviour being observed.
- Full simulation of the Raft consensus algorithm in Go.
- Leader election, log replication and node failure recovery.
- gRPC for peer-to-peer communication between nodes.
- Gin for the HTTP surface and GORM for persistence.
- A Next.js dashboard visualising cluster state transitions and replication events in real time.
A working cluster whose elections, replication and recovery can be watched live.
- Go
- gRPC
- Gin
- GORM
- Next.js