Content deleted Content added
spelling corrections |
|||
Line 6:
}}
The '''bully algorithm''' is a programming mechanism that applies a
This is used as a method in [[distributed computing]] for dynamically electing a [[Distributed Computing#Coordinator Election|coordinator]] by process ID number. The process with the highest process ID number is selected as the [[Distributed Computing#Coordinator Election|coordinator]].
Line 13:
As this algorithm is part from a system model that tries to make a fail-free system (like the solution shown in Lamport paper), we need some assumptions for the model.
* The system is synchronous and uses timeout for identifying process failure. (so you can have Delta and Cmax in order to calculate timeout as opposed to asynchronous systems where you can't calculate a timeout and then you can't
* Allows processes to crash during execution of algorithm. (To=2*Delta+Cmax; so timer knows when
* Message delivery between processes should be reliable.(Coordinator
* Prior information about other process id's must be known. (This works as Leslie Lamport solution for Byzantine
Notice that this algorithm can be
==Component calls==
|