← all notes

discovered raft today

  • It works by electing a single leader responsible for accepting client requests and replicating the log to its followers.

  • A log is considered commited when majority of cluster accepts it

  • This ensures that system is available as lng as more than half of nodes are operational

  • Once leader dies, candidate nodes come up for elections, eligible only if they have the least timeout