TY - JOUR AU - Md. Navid Bin Anwar, AU - Nahar, Afroza AU - Nashid Kamal Md., AU - Mehedi Hasan Shuvo, PY - 2022/10/31 Y2 - 2024/03/29 TI - A WAITING TIME-BASED BULLY ALGORITHM FOR LEADER NODE SELECTION IN DISTRIBUTED SYSTEMS JF - Malaysian Journal of Science JA - Malaysian J. Sci. VL - 41 IS - 3 SE - Original Articles DO - 10.22452/mjs.vol41no3.5 UR - https://ejournal.um.edu.my/index.php/MJS/article/view/27478 SP - 38-43 AB - <p>In distributed systems, a single node (referred to as a leader) coordinates all other nodes to ensure synchronization. If this node fails, another node in the system must adopt the role of leader. The classic bully algorithm suffers from some significant drawbacks, such as excessive message passing, a redundant number of election calls, and uncertainties over message delivery. The enhanced bully algorithm is one of the most recent improvements of this algorithm. However, this algorithm performs poorly in average- and worst-case scenarios. In this paper, a novel waiting time-based algorithm is proposed to improve the enhanced bully algorithm for electing a new leader during such critical scenarios. In this algorithm, if a single or multiple number of nodes discover that the leader has failed, it does not broadcast instantly. Rather, it waits for a certain period, and this waiting time is assigned to the nodes according to their load. After the timeout, the node sends its message and starts the election process. Moreover, it restricts nodes from unnecessary message passing and stops any redundant election calls. Accordingly, this algorithm detects the failure of the leader node more precisely and elects a new leader more quickly.</p> ER -