Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Bully algorithm

Parallel and Distributed Algorithm

The bully algorithm is a method for dynamically electing a coordinator, or leader, from a group of distributed computer processes. The process with the highest process identifier among the processes that have not failed becomes the coordinator. The algorithm assumes a synchronous system, processes that fail by stopping and may later restart, a failure detector, reliable message delivery, and that every process knows the identifier and address of every other process. It uses three message types: election, answer and coordinator. A process that notices the coordinator has failed sends election messages to all processes with higher identifiers. If none answers, it announces itself as coordinator. If one answers, it waits for that process to finish the election. A recovering process with the highest identifier simply takes over. The algorithm is safe, since two processes can never both announce victory, and live in the synchronous crash-recovery model. In the worst case the message count grows quadratically with the number of processes.

Connections

In Field

Source Bully algorithm (source article)
Sources
Bully algorithm (source article)
  • In Group: Concurrency and Distributed Systems Techniques, Lead
    the bully algorithm is a method for dynamically electing a coordinator or leader from a group of distributed computer processes
  • In Field: Distributed Computing, Lead
    the bully algorithm is a method for dynamically electing a coordinator or leader from a group of distributed computer processes
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.