Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RAW] swim: introduce SWIM's dissemination component
SWIM - Scalable Weakly-consistent Infection-style process group Membership protocol. Original SWIM paper is described in cognominal paper by Abhinandan Das, Indranil Gupta, Ashish Motivala. Here only superficial description is presented. SWIM consists of two components: dissemination and failure detection, both works via UDP protocol on each cluster member. Dissemination component discovers cluster members: their statuses, addresses, some additional info. Each member periodically sends part of its known members table to another random member. Failure detection component detects which members are dead - it means they do not respond to requests. Failure detector sends pings to randomly selected members. When a member does not respond to requests during some time, it is marked as dead and deleted from members tables of other cluster participants. This patch implements only dissemination component and some basic things. Part of #3234
- Loading branch information