The Election Algorithm The Election algorithm explains how master nodes are selected in distributed systems, read more about it here