Notes on Raft

Table of contents

Raft is a protocol for implementing distributed consensus. Raft builds a replicated state machine using a Replicated log. It considers log as a source of truth and can be used to build inearizable storage.

Writes:

Reads:

Leader Election:

Log replication

Normal case Log replication

Log replication when there are inconsistencies

missing entires

extraneous entries

Safety

Types of messages used:

Tags: #distributed systems