Questions tagged [gossip]

A gossip protocol is a style of computer-to-computer communication protocol inspired by the form of gossip seen in social networks.

A gossip protocol is a style of computer-to-computer communication protocol inspired by the form of gossip seen in social networks. Modern distributed systems often use gossip protocols to solve problems that might be difficult to solve in other ways, either because the underlying network has an inconvenient structure, is extremely large, or because gossip solutions are the most efficient ones available.

47 questions
17
votes
2 answers

What are the differences between IPFS and hyperdrive?

A year ago I attended Munich meetup where I first saw hyperdrive project live, and found it impressive. I also recently stumpled upon IPFS –the InterPlanetary file system– and I wonder about the differences. It's easy to have a lot of repercusion…
5
votes
2 answers

What is the state of art on implementing a p2p message-broadcast network?

I'm aware a quick Google wields tons of results and the literature on this topic is very rich, and that is exactly the problem. Among the universe of possible solutions I'm not sure which specifically is the best, up-to-date choice for my specific…
MaiaVictor
  • 51,090
  • 44
  • 144
  • 286
5
votes
2 answers

How does node know which nodes have seen the cluster current state?

I'm reading akka documentation and come up with some troubles of undertanding the way they implemented Gossip. (docs here). The part that confused me, (emphasized mine): Periodically, the default is every 1 second, each node chooses another …
user3663882
  • 6,957
  • 10
  • 51
  • 92
4
votes
1 answer

Understanding Gossip protocol

I'm reading akka cluster documentation and now I'm at the Gossip section. I did not understand the following statement: Cluster membership is communicated using a Gossip Protocol, where the current state of the cluster is gossiped randomly…
user3663882
  • 6,957
  • 10
  • 51
  • 92
4
votes
1 answer

Simple approach to synchronizing data across an Akka cluster?

I've got some run-time data I'd like to exist on a designated actor on every node in my Akka cluster, which could be updated via internal event or API call to a single node. I could store this data in a shared database to make it permanent, but I'd…
acjay
  • 34,571
  • 6
  • 57
  • 100
3
votes
0 answers

How to make sense of heartbeat in cassandra's nodetool's gossipinfo?

When I did nodetool gossipinfo on one of the nodes on cassandra server, I got the following output, /192.168.0.36 generation:1504926520 heartbeat:2147483647 DC:datacenter1 STATUS:shutdown,true SEVERITY:0.0 …
3
votes
1 answer

Use a DHT for a gossip protocol?

I've been digging about DHTs and especially kademlia for some time now already. I'm trying to implement a p2p network working on a Kademlia DHT. I want to be able to gossip a message to the whole network. from my research for that gossip protocols…
yosher lutski
  • 306
  • 2
  • 8
3
votes
1 answer

Why do Docker overlay networks require consensus?

Just been reading up on Docker overlay networks, very cool stuff. I just can't seem to find an answer to one thing. According to the docs: If you install and use Docker Swarm, you get overlay networks across your manager/worker hosts automagically,…
smeeb
  • 27,777
  • 57
  • 250
  • 447
3
votes
3 answers

How to guarantee that all nodes get infected in gossip-based protocols?

In gossip-based protocols, how do we guarantee that all nodes get infected by the message? If we selected a random number of nodes and send a message to these nodes, and these nodes did the same, there is a probability that some node will not…
user1129665
2
votes
0 answers

Bitnami Consul Gossip encryption

I'm trying to get gossip encryption enabled on a local cluster running the bitnami/consul image. I have created the containers with CONSUL_GOSSIP_ENCRYPTION: 'true' and CONSUL_GOSSIP_ENCRYPTION_KEY environment variables but all I ever get is this…
2
votes
0 answers

Akka-Cluster: indirectly connected member does not receive UnreachableMember event about himself

There's something I'm trying to understand about failure detection and the gossip of the detection. A multi-jvm test I wrote seems to show that a member that has been detected as failed but still reachable via other nodes will not receive an…
DennisVDB
  • 1,347
  • 1
  • 14
  • 30
2
votes
2 answers

Why Paxos is required for leader election in cassandra

I was reading about the Protocol for distributed consensus and came across the Paxos. It states that you require Paxos for the leader election. Article claiming the same. So, my question is when Cassandra is a ring architecture not master-slave why…
Naresh
  • 5,073
  • 12
  • 67
  • 124
2
votes
2 answers

Elixir: Genserver.call not initiaing handle_call

I am implementing the Gossip Algorithm in which multiple actors spread a gossip at the same time in parallel. The system stops when each of the Actor has listened to the Gossip for 10 times. Now, I have a scenario in which I am checking the listen…
Prince Bhatti
  • 4,671
  • 4
  • 18
  • 24
2
votes
0 answers

how eureka peers guarantee the registration information is consistent when sync action fail

PeerAwareInstanceRegistryImpl will sync to other peers when registration changed,the code as follows: private void replicateInstanceActionsToPeers(Action action, String appName, String id, InstanceInfo…
wangsan
  • 41
  • 5
2
votes
1 answer

Understanding cluster state update

I'm reading gossip akka cluster documentation and still have one little misunderstanding about gossip. As said in this answer, two nodes are gossiping about the value and then who seen this value. But this comes with some issue about convergence.…
user3663882
  • 6,957
  • 10
  • 51
  • 92
1
2 3 4