Java Gossip Protocol Simulator API

An experimental Java 17 API to enable simulating the dissemination of data across nodes (Hosts) in a network using the Gossip epidemic protocol.
The API enables running the simulation using a single computer.
Every node is represented by a Plain Old Java Object GossipNode
.
Therefore, since this is a simulation API, there is no actual
network communication, not even in localhost.
1. Examples
The figure below shows an example of the output for a simulation cycle, where nodes send a message to their neighbors. An infected node π is that one which has already received a message, otherwise itβs a non-infected node π.
A complete example is available here.
2. Links
If you want to understand how the Gossip Protocol works, check this nice online graphical simulator.