Skip to content

A simple gossip protocol implemented using Ruby and Sinatra

Notifications You must be signed in to change notification settings

avogel3/gossip-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gossip-rb screenshot

Gossip-rb

A simple gossip protocol implemented using Ruby and Sinatra. The the network requests (Faraday) connect to peers to send messages and also receive peer message state.

Setup

bundle install

Run the server

The client takes multiple arguments. The first argument is the port for the client to run on and the rest are peer ports for that node.

ruby client.rb 3000 4000 # one peer port

ruby client.rb 3000 4000 5000 6000 7000 # multiple peer ports
Andrew Vogel

About

A simple gossip protocol implemented using Ruby and Sinatra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages