Skip to content

Gossip Protocol for decentralized group communication.

Notifications You must be signed in to change notification settings

nishantdhol/Gossip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gossip Protocol

Algorithms Implemented

Gossip - Push Variant

In our current implementation, push gossip for disseminating information is implemented. Maintaining membership information, detecting failed nodes and sending group messages is implemented with the help of simple push gossip.

Gossip - Pull Variant

In our project, pull gossip is implemented to maintain the consistency of delivering every message to each other. So when any node joins it will send pull requests to known nodes to get all the messages stored in there storage.

Exponential Backoff Algorithm

In our project, an exponential backoff algorithm is implemented to control the network congestion happening when gossip protocol is used to send messages. Exponential Backoff Algorithm controls the network traffic by not sending the same message to random nodes when a node gets the same message multiple times.

Run the below command to create jar file for the application (requirement maven)

mvn clean install

Run the below command to start the application, this opens the Initial Node.

java -jar .\GossipProtoApp.jar -hostname 'Provide-your-IPAddress' -port 8080

Run the below command to start the other nodes.

java -jar .\GossipProtoApp.jar -hostname 'Provide-your-IPAddress' -port 8081 8080

java -jar .\GossipProtoApp.jar -hostname 'Provide-your-IPAddress' -port 8082 8081

Releases

No releases published

Packages

No packages published

Languages