[Paper Review] Improved Bully Election Algorithm for Distributed Systems
This paper proposes a modified Bully algorithm that reduces message complexity from O(n²) to O(n) by minimizing redundant elections and message passing. By limiting election initiation to a single process and streamlining coordinator notification, the improved algorithm decreases network traffic and election stages while maintaining fault tolerance and leader consistency.
Electing a leader is a classical problem in distributed computing system. Synchronization between processes often requires one process acting as a coordinator. If an elected leader node fails, the other nodes of the system need to elect another leader without much wasting of time. The bully algorithm is a classical approach for electing a leader in a synchronous distributed computing system, which is used to determine the process with highest priority number as the coordinator. In this paper, we have discussed the limitations of Bully algorithm and proposed a simple and efficient method for the Bully algorithm which reduces the number of messages during the election. Our analytical simulation shows that, our proposed algorithm is more efficient than the Bully algorithm with fewer messages passing and fewer stages.
Motivation & Objective
- Address the high message overhead and multiple election stages in the classical Bully algorithm.
- Reduce network traffic caused by O(n²) message complexity during leader election.
- Minimize redundant election processes by ensuring only one process initiates election after leader failure.
- Maintain fault tolerance and leader consistency while improving scalability and response time.
- Propose a simple, efficient, and fail-safe alternative to the original Bully algorithm for distributed systems.
Proposed method
- Limit election initiation to a single process (the lowest-priority process that detects failure) to prevent parallel elections.
- Use a two-phase message exchange: election messages to higher-priority processes and responses to confirm availability.
- Introduce a final coordinator notification phase with only two messages: one from the new leader and one to confirm leadership.
- Apply the formula $ T_m = 3n - 1 $ to compute total message count, ensuring O(n) complexity.
- Ensure all processes are informed via a single, centralized coordinator announcement to avoid repeated broadcasts.
- Preserve the core logic of the original Bully algorithm but eliminate redundant message exchanges in each election stage.
Experimental results
Research questions
- RQ1How can the message complexity of the classical Bully algorithm be reduced in leader election?
- RQ2What mechanisms can prevent parallel elections and reduce network overhead in distributed systems?
- RQ3Can a modified Bully algorithm maintain fault tolerance while reducing the number of message passes?
- RQ4What is the theoretical and empirical message complexity of the proposed algorithm compared to the original?
- RQ5Does the modified algorithm reduce the number of election stages and improve system convergence time?
Key findings
- The modified algorithm reduces message complexity from O(n²) in the original Bully algorithm to O(n), specifically $ 3n - 1 $ messages in the worst case.
- The number of election stages is significantly reduced, eliminating multiple overlapping election cycles.
- Simulation results show a linear growth in message count (O(n)) compared to the quadratic curve (O(n²)) of the original Bully algorithm.
- The modified algorithm avoids parallel elections by ensuring only one process initiates the election after a failure.
- The analytical model confirms that the proposed method reduces message passing by a factor proportional to n in worst-case scenarios.
- The improved algorithm maintains safety and consistency while enhancing performance and scalability in distributed systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.