Part 2: Leader Election & Heartbeats
Turning a cluster of silent nodes into a system with a leader.
In Part 1, I built the basic structure of a Raft node and introduced the three states a node can be in: Follower, Candidate, and Leader.
amankumar29.hashnode.dev9 min read