Distributed

Raft

A consensus algorithm using randomised election timeouts, one vote per node per term, and majority commit.

Why interviewers ask about it

Two majorities of the same set must overlap, so split brain is impossible. Always use odd cluster sizes - four tolerates no more failures than three.

This term is part of the free System Design interview preparation module - browse the full glossary for every definition.