- Generate a network consisting of 16 nodes running simultaneously where one node can at maximun know only three other nodes and disseminate broadcast message using gossip protocol.
-
Each node has two API methods
submit_message
andget message
. They can be viewed inGossip.py
-
UDP for communication
-
Every node will receive the message, a node transmits using gossip dissemination.
-
Figure of gossip dissemination shown below
#TODO(Koushikg): dockerize nodes so it is easier to setup env
- start nodes separately in each terminal
python Gossip_node_7000.py
- Enter a message from any node and view other node's terminal as the message is received
Node started on port 7000
Susceptible nodes => [7010, 7020]
Enter a message to send:
hello from 7000