Questions tagged [bully-algorithm]

The bully algorithm is a method in distributed computing for dynamically electing a coordinator by process ID number. The process with the highest process ID number is selected as the coordinator.

The bully algorithm is a method in distributed computing for dynamically electing a coordinator by process ID number. The process with the highest process ID number is selected as the coordinator.

More Details

6 questions
2
votes
1 answer

Is there any way we can elect leader in my application in Kubernetes using node.js?

I am trying to implement leader election algorithm in my distributed node.js application.I am using Kubernetes as the container manager and deploying docker containers.I do not have details of host and port of other instances of application running…
2
votes
1 answer

What election algorithm does microsoft failover cluster use?

I cannot find anything about the algorithm it uses as primary node election algorithm. http://msdn.microsoft.com/en-us/library/aa373130%28v=vs.85%29.aspx Is it a bully algorithm, or ring algorithm, or some other algorithms?
Chuan He
  • 23
  • 2
0
votes
2 answers

Bully Algorithm - Detecting Failure

Descriptions of the bully algorithm usually do not cover the actual detection of a failure. I have a working implementation of the bully algorithm that uses the elections themselves to detect failures, rather than have failures trigger elections. In…
Ben Aston
  • 53,718
  • 65
  • 205
  • 331
-1
votes
1 answer

what happens if the failed process wakes up after the election has taken place in the bully algorithm

I am currently learning about the bully algorithm for agreement in distributed systems. I understand how the election works but i am a bit confused on what happens for example if process 4 fails and process 2 started an election and process 3 wins…
user3659384
  • 37
  • 2
  • 8
-1
votes
1 answer

Inter Process Communication to simulate bully algorithm

I don't know alot about inter process communication but I want to make a simulation of the bully algorithm using inter process communication and after searching i found that there are mechanisms to use IPC Clipboard COM Data Copy DDE File…
Rehab Reda
  • 193
  • 7
  • 16
-2
votes
1 answer

What does coordinator do at the first place?

So, I am reading about the Bully algorithm and other similar algorithms, and it's pretty easy, but one thing I don't understand, why do we need a coordinator at the first place? What does process do once he gets to be a coordinator? Any real-world…
lily
  • 115
  • 1
  • 8