Question

In the Bully algorithm, a recovering process starts an election, and will become the new coordinator...

In the Bully algorithm, a recovering process starts an election, and will become the new coordinator if it has a higher identifier than the current coordinator. Is this a necessary feature of the algorithm?

Homework Answers

Answer #1

Remember that if there is no benefit in using a method with higher numbers, this is an undesirable function, the re-election is unnecessary. Process numeration can reflect its relative advantage. The advantage in this case may be worth the cost of re-election. Re-election costs include the rounds of messages required to implement the election. This may also include a request-specific transition of the state from the old coordinator to the new coordinator.

The algorithm can then work as before, if the newly restored process finds the coordinator lost, or if it receives an election request, it sends a message from the coordinator to the remaining processes. To prevent a re-election, a recovery process might simply send a requestStatus message to successive lower-numbered processes to find out if another process is already selected, and choose only if it receives a negative response.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Suppose that P1, P2, ..., P10 are in one group. The group will use bully algorithm...
Suppose that P1, P2, ..., P10 are in one group. The group will use bully algorithm to select new coordinator. P10 was coordinator and just crashed. If P3 find that P10 has been crashed. What P3 will do? If during the election time, no any other process will crash, how many messages will be send for select a new coordinator. Why bully algorithm want to select the process with highest number as a coordinator?
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 48 sample problems. The new algorithm completes the sample problems with a mean time of 19.50 hours. The current algorithm completes the sample problems with a mean time of 21.16 hours. The standard deviation is found to be 3.608 hours for the new algorithm, and 4.538 hours for the current algorithm. Conduct a hypothesis test at the...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 50 sample problems. The new algorithm completes the sample problems with a mean time of 17.92 hours. The current algorithm completes the sample problems with a mean time of 20.50 hours. The standard deviation is found to be 3.761 hours for the new algorithm, and 4.081 hours for the current algorithm. Conduct a hypothesis test at the...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 54 sample problems. The new algorithm completes the sample problems with a mean time of 19.20 hours. The current algorithm completes the sample problems with a mean time of 21.49 hours. Assume the population standard deviation for the new algorithm is 3.259 hours, while the current algorithm has a population standard deviation of 3.804 hours. Conduct a...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 41 sample problems. The new algorithm completes the sample problems with a mean time of 23.42 hours. The current algorithm completes the sample problems with a mean time of 26.39 hours. Assume the population standard deviation for the new algorithm is 3.442 hours, while the current algorithm has a population standard deviation of 5.364 hours. Conduct a...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 51 sample problems. The new algorithm completes the sample problems with a mean time of 24.83 hours. The current algorithm completes the sample problems with a mean time of 27.75 hours. The standard deviation is found to be 4.193 hours for the new algorithm, and 4.285 hours for the current algorithm. Conduct a hypothesis test at the...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 66 sample problems. The new algorithm completes the sample problems with a mean time of 10.24 hours. The current algorithm completes the sample problems with a mean time of 11.92 hours. The standard deviation is found to be 5.123 hours for the new algorithm, and 4.214 hours for the current algorithm. Conduct a hypothesis test at the...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 49 sample problems. The new algorithm completes the sample problems with a mean time of 11.41 hours. The current algorithm completes the sample problems with a mean time of 13.41 hours. The standard deviation is found to be 4.040 hours for the new algorithm, and 4.742 hours for the current algorithm. Conduct a hypothesis test at the...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 76 sample problems. The new algorithm completes the sample problems with a mean time of 21.91 hours. The current algorithm completes the sample problems with a mean time of 23.08 hours. Assume the population standard deviation for the new algorithm is 5.316 hours, while the current algorithm has a population standard deviation of 4.853 hours. Conduct a...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each...
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 89 sample problems. The new algorithm completes the sample problems with a mean time of 17.64 hours. The current algorithm completes the sample problems with a mean time of 17.75 hours. The standard deviation is found to be 4.5614.561 hours for the new algorithm, and 4.210 hours for the current algorithm. Conduct a hypothesis test at the...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT