Communication among Raft Nodes

Let's explore how Raft nodes communicate, what problem occurs, and how Raft solves this problem.

Communication mechanism

Nodes communicate via remote procedure calls (RPCs) and Raft has two basic RPC types:

  • RequestVote: Sent by candidates during an election
  • AppendEntries: Sent by leaders to replicate log entries and provide a heartbeat form

Get hands-on with 1200+ tech skills courses.