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
1
vote
2 answers

How much impact does the number of Cassandra seed nodes have on network traffic?

I am basically wondering how big of an impact the number of seed nodes plays in network traffic. I have a 16-node cluster with 3 seed nodes and I am trying to keep the gossip-traffic as less as possible in order to minimize the general network…
Des0lat0r
  • 482
  • 3
  • 18
1
vote
1 answer

Some Cassandra nodes show DN - gossip information is not unanimous

I have a 16-node Cassandra cluster (3.11.9) with 3 seed nodes (.54, .115 and 164), replication factor 3 and gc_grace_seconds 10 days(default). Some nodes show DN on some other nodes but on other nodes they show up as UN. For example below is the…
Des0lat0r
  • 482
  • 3
  • 18
1
vote
1 answer

Cassandra write/read protocol between nodes

Could some one help me understand what protocol nodes use when they talk to each other at the time of write and read e.g. a Client connects to a coordinator node for write, then coordinator node forwards the write to the appropriate node which owns…
Rafel
  • 23
  • 3
1
vote
0 answers

Implementing Gossip Protocol: Sending membership table results in garbage values being received

I'm trying to implement a Gossip style membership protocol for an online cloud computing course assignment, and I've run into a strange issue. When members enter the network, they report to an 'introducer node' which sends them the network…
1
vote
1 answer

gossip.discovery Closing connection to Endpoint?

I've created a network with 2orgs each one with 2peers and 1ca. After creating the network, the error that I get is: peer0.org2.example.com|2020-01-30 06:30:18.279 UTC [gossip.comm] func1 -> WARN 048 peer0.org1.example.com:7051,…
1
vote
2 answers

Is It Possible for Cassandra to Return an Inconsistent Value?

I am very new to Cassandra and I am wondering, is it possible for Cassandra to return an inconsistent value? For example, say we have six node cluster. LOCAL_QUORUM = (replication_factor/2) + 1 This would give us a Local Quorum of 4. So for a…
user1870035
1
vote
2 answers

Cassandra : Replaced Node Shows In Nodetool GossipInfo And Nodetool Status

We are using Cassandra 3.9.0. Recently we had some trouble regarding 1 node. This node was crashed as 100% disk usage was reached. One approach we are thinking to replace the node by a new node, according to following instruction provided by…
1
vote
2 answers

Basic Distributed Counter using Java Sockets

I have some Java processes(Socket programs) running on different servers, some on the same network and some on different networks. These processes together have the job to maintain a global counter. A client can connect to any of these processes and…
1
vote
1 answer

Cassandra - Setup replication on 2 physcial machines

I want to setup Replication on two systems. So, need suggestions for the same . I have following doubts :- 1) Is it possible to setup replication on two physical machines ? 2) If Yes, What should be the keyspace Schema ? 3) CREATE KEYSPACE ums_db…
jAi
  • 115
  • 1
  • 14
1
vote
0 answers

Are messages published in an Akka Distributed Publish Subscribe cluster using a full or partial mesh?

I'm interested in using Akka's Distributed Publish Subscribe Cluster feature to publish messages sent over a cluster. When using DistributedPubSubMediator.Publish, are messages broadcasted to all topic subscribers using a full mesh network topology,…
Francis
  • 379
  • 5
  • 21
1
vote
2 answers

What Call-ID when we run Sofia status profile xxxxxx reg?

I am trying to make an iOS app with PJSIP, I am using GOSSIP wrapper for that when i run the following command "Sofia status profile xxxxxx reg" to check the registered devices on server, i get following for each device. I was wondering about what…
1
vote
2 answers

two nodes in cassandra are not gossiping to each other

Node0: configuration.yaml file: cluster_name: 'ServerCluster' num_tokens: 256 Seeds: "" listen_address: 10.104.0.15 rpc_address: 10.104.0.15 auto_bootstrap: false endpoint_snitch: GossipingPropertyFileSnitch cassandra-env.sh file :…
Kate Spade
  • 47
  • 3
  • 12
1
vote
1 answer

Use of gossip protocol in Erlang cluster management

I am new to Erlang as well as distributed computing. We are a small team who is trying to build a small messaging server. One of the thing we are looking at how do we manage cluster state - we came across few custom implementation in Erlang open…
tintin
  • 135
  • 2
  • 4
0
votes
1 answer

Java | Socket timeout behavior not properly working for multithreading

I am developing a simple gossip udp system for a college project where end users should first initialize their own peer network configuration (ip:port) and also set up the network configuration for two neighbours. Only afterwards they are able to…
JOC
  • 73
  • 5
0
votes
1 answer

How HashGraph Gossip Protocol Works?

I read HashGraph paper https://www.swirlds.com/downloads/SWIRLDS-TR-2016-01.pdf and view "The HashGraph Protocol" https://www.youtube.com/watch?v=BAfsN3NW2Zg&list=PLr-BND1DE3sUR7GMm4lgw3B3D94OT4NuL&index=8&t=774s which explains how hashgraph works…