Brain Dump

Distributed Systems

Raft

Updated at: 13 Jun 2019 07:19:49

Subproblems

  1. Leader election
  2. Log replication

Leader election

Roles: - Leader: onyl one leader - Candidate: leader candidates in the election process - Follower: Do not send any request, only accespt heartbeat from laeader, except forwarding requests from client to leader

Changing of roles

  1. Follower: When meets heartbeat timeout. convert