Raft is a fast, scalable, understandable consensus algorithm widely used in distributed systems. The Leader handles client requests and interacts with other servers to reach a consensus, so a stable, reliable, and powerful Leader is crucial for the cluster. We designed a policy-based voting mechanism to make the elected Leader as reliable as possible. In order to improve the asymmetric relationship between the Followers and Leader, we designed a mechanism to trigger a new round of the election actively so that the Leader node can actively transform into a Follower under certain conditions and enhance the symmetry between servers. Our proposed Raft-PLUS algorithm makes the elected Leader as reliable as possible through four election policies and designed three opposition policies to trigger a new round of the election. To verify the effectiveness of the Raft-PLUS algorithm, we configure different election and opposition policies on 12 servers to simulate the election and opposition process of the Leader and explain the process. To demonstrate the advantages of the Raft-PLUS algorithm, we built key-value stores based on Raft and Raft-PLUS, and we tested the performance of Raft-PLUS and the Raft algorithm in normal and abnormal states. Experimental results show that the Raft-PLUS algorithm has similar write throughput to the Raft algorithm under normal conditions. Regarding the quality of the Leader network changes, the average write throughput of the Raft-PLUS algorithm is 40% higher than that of the Raft algorithm. The Leader’s CPU usage fluctuated; the average write throughput of Raft-PLUS was 38% higher than Raft.
3 November 2011 in Wireless Personal Communications
The transition from IPv4 to IPv6 is an inexorable trend in the development of Internet. However, since IPv4 has been widely deployed for many years, it is mandatory that the existing IPv4 and the newly deployed IPv6 coexist and interoperate seamlessly. With the study of various mechanisms proposed for the interoperability between IPv4 and IPv6, some mobility management protocols are also extended to work in the mixed mobile Internet. In this study, the authors carry out an in‐depth analysis of three types of standardised mobility management protocols with dual‐stack support. Owing to the difference of underlying basic protocols, their individual dual‐stack extensions have different features and thus are suited for deployment in different scenarios and stages in the evolution of the mobile Internet.