Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 733 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 733 Bytes

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