Searcharxiv⌕ Search

arXiv subjects

Kohya Shiozaki

Publications and source records attributed to Kohya Shiozaki.

2 recordsLinked to original sources

Dynamic Tuning of Election Parameters for Timely Leader Failover in State Machine Replication

State Machine Replication (SMR) is a technique for achieving fault tolerance in distributed services by replicating the service state across multiple servers. Leader-based consensus algorithms, e.g., Raft and Multi-Paxos, are commonly used to implement SMR, where one server acts as a leader to coordinate consensus among the others. When the leader fails, a failover process is triggered to select a new leader. During this period, called out-of-service (OTS) time, the service temporarily becomes unavailable. The OTS time depends on the time required for both leader failure detection and election, particularly on election parameters, i.e., the interval of heartbeat messages and the timeout for triggering the election. If these parameters are improperly configured, the OTS time may increase or a new leader may fail to be elected, resulting in a loss of availability. Moreover, setting appropriate parameters is difficult under fluctuating network conditions, as suitable parameters change with variations in network latency and packet loss rates. We propose Dynatune, which dynamically tunes election parameters for timely and stable leader failover according to network conditions by measuring latency and packet loss rates between servers. Experimental results show that Dynatune reduces leader failure detection time by 78% and OTS time by 45% for Raft, and by 79% and 75% for Multi-Paxos, while maintaining availability under fluctuating networks. These results demonstrate that Dynatune effectively enhances failover performance in leader-based SMR.

cs.DC↗

Selection Guidelines for Geo-Replicated SMR Protocols: A Communication Pattern-based Latency Modeling Approach

State machine replication (SMR) is a replication technique that ensures fault tolerance by duplicating a service. Geo-replicated SMR is an enhanced version of SMR that distributes replicas in separate geographical locations, making the service more robust against large-scale disasters. Several geo-replicated SMR protocols have been proposed in the literature, each tailored to specific requirements; for example, protocols designed to reduce latency by either sacrificing a part of their fault tolerance or limiting the content of responses to clients. However, this diversity complicates the decision-making process for selecting the best protocol for a particular service. In this study, we introduce a latency estimation model for these SMR protocols based on the communication patterns of the protocols and perform simulations for various cases. Based on the simulation results and an experimental evaluation, we present five selection guidelines for geo-replicated SMR protocols based on their log management policy, distances between replicas, number of replicas, frequency of slow paths, and client distribution. These selection guidelines enable determining the best geo-replicated SMR protocol for each situation.

cs.DC↗