Grokking the System Design Interview, Volume II
Vote

0% completed

Gossiper

Every node in a Cassandra cluster needs to know the state of every other node. That means knowing which ones are up, and which data they hold. This lesson looks at gossip protocol. It is the mechanism Cassandra uses to spread that information without a central coordinator.

How does Cassandra use gossip protocol?

Cassandra uses gossip protocol. It lets each node keep track of state information about every other node in the cluster. Nodes share this information with each other to stay in sync. Gossip protocol is a peer-to-peer communication mechanism

.....

.....

.....

Like the course? Get enrolled and start learning!
G

Gary

· 4 years ago

How does the seed node help new nodes bootstrap? How does it bootstrap itself?

A

Amey Naik

· 5 years ago

"Seed nodes: To prevent problems in gossip communications, Cassandra designates a list of nodes as the seeds in a cluster. This is critical for a node starting up for the first time. By default, a node remembers other nodes it has gossiped with between subsequent restarts. The seed node designation has no purpose other than bootstrapping the gossip process for new nodes joining the cluster. Thus, seed nodes are not a single point of failure, nor do they have any other special purpose in cluster operations other than the bootstrapping of nodes"

Show 1 reply

Reading Progress

0%


Vote for new content