Hi, I'm looking to get some clarification on how the gossip protocol works
in Cassandra 2.0.

Does a node contact 3 purely random nodes every second for gossip or is
there more intelligence involved in how it selects the 3 nodes?

*The Apache wiki on Cassandra states this:*
"Gossip timer task runs every second. During each of these runs the node
initiates gossip exchange according to following rules:

1) Gossip to random live endpoint (if any)

2) Gossip to random unreachable endpoint with certain probability depending
on number of unreachable and live nodes

3) If the node gossiped to at (1) was not seed, or the number of live nodes
is less than number of seeds, gossip to random seed with certain
probability depending on number of unreachable, seed and live nodes.

These rules were developed to ensure that if the network is up, all nodes
will eventually know about all other nodes."

Link: http://wiki.apache.org/cassandra/ArchitectureGossip

Is the above still true for C* 2.0?

Let's say all 20 nodes in a C* cluster are up. In this case will each node
simply contact 3 random nodes every second?

- SF

Reply via email to