gerbil-simsub icon indicating copy to clipboard operation
gerbil-simsub copied to clipboard

Simulations with more constraints and performance metrics in outputs

Open rairyx opened this issue 5 years ago • 4 comments

Is it possible to do simulations on Pub/Sub(Gossipsub, floodsub, episub) with more network constraint(e.g. packet drop, node churns etc) and more metrics in outputs(e.g. message dissemination time, max delivery hop)? Thanks

rairyx avatar Jul 07 '20 17:07 rairyx

We can certainly do this, and but it would be a little work.

We actually use testground for this nowadays, which runs the actual production code. See https://github.com/libp2p/gossipsub-hardening, which should be made public soon, and also https://blog.ipfs.io/gossipsubv1.1-eval-report-and-security-audit/

vyzo avatar Jul 07 '20 18:07 vyzo

Thanks @vyzo, good to know, testground is very cool, but I'd like to do large scale simulations(with 10k, 100k.. nodes) which will be very expensive with testground

rairyx avatar Jul 08 '20 17:07 rairyx

That's a good point. What part of the protocol would you like to simulate? It should be fairly straightforward to write a simulator for v1.0 from scratch, v1.1 is a little more complicated.

vyzo avatar Jul 09 '20 06:07 vyzo

I'd like to simulate v1.0 first, ultimately v1.1 with more network constraints and performance metrics, also for floodsub and episub.

rairyx avatar Jul 09 '20 17:07 rairyx