Apex › Distributed systems

Leader election (Bully algorithm)

When the coordinator dies, who takes over — and how does everyone agree? Kill nodes, pick who starts the election, and step through the ELECTION/OK/COORDINATOR messages as the highest survivor bullies its way to the crown.

More in Distributed systems