Bully algorithm: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
The '''bully algorithm''' is a method in [[distributed computing]] for dynamically selecting a coordinator by process ID number.
 
Assumptions :
* The system is synchronous and uses timeout for identifing process failure
Message types -:

* Election Message : Sent to announce the election
* Answer Message : Respond to the election message
* Cordinator message: sent to announce the identity elected process
Compare with Ring algorithm :
* Assumes that system is synchorinous
* Uses time-out to detect process failure/crash