https://github.com/lcudenne/learntoshare
Peer-to-peer (P2P) overlay, Remote procedure call (RPC) middleware and Distributed shared memory (DSM) testbed
Written in Python using ZeroMQ (0MQ)
Preliminary example on how to implement a P2P version of Optuna github/optuna is given in apps/optuna_p2p