Category : distributed-systems

Order This article mainly studies SWIM Protocol SWIM Protocol The full name of SWIM is scalable, vulnerable-consistent, infection-style, processes group membership protocol. heartbeats In traditional membership protocols such as heartbeats, each node periodically sends heartbeat to all other nodes in the network to indicate that it is alive. If the peer exceeds the specified interval ..

Read more

Order This article mainly studies the FailureDetector of scalecube-cluster. FailureDetector scalecube-cluster-2.2.5/cluster/src/main/java/io/scalecube/cluster/fdetector/FailureDetector.java /** * Failure Detector component responsible for monitoring availability of other members in the * cluster. This interface is supposed to be used internally as part cluster membership protocol. It * doesn’t specify that particular node is failed, but just provide information that either ..

Read more

Order This article mainly studies the MembershipProtocol of scalecube-cluster. MembershipProtocol scalecube-cluster-2.2.5/cluster/src/main/java/io/scalecube/cluster/membership/MembershipProtocol.java /** * Cluster Membership Protocol component responsible for managing information about existing members * of the cluster. */ public interface MembershipProtocol { /** * Starts running cluster membership protocol. After started it begins to receive and send cluster * membership messages */ Mono<Void> start(); ..

Read more

Order This article mainly studies Election Algorithms. Election Algorithms There are roughly two types of Election Algorithms, one is Bully Election proposed by Garcia-Molina, and the other is Chang & Roberts’ s Token Ring Election Algorithm; For most election algorithms, there are usually the following assumptions: Complete topology, information can be passed between nodes of ..

Read more