Open rairyx opened 4 years ago
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/
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
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.
I'd like to simulate v1.0 first, ultimately v1.1 with more network constraints and performance metrics, also for floodsub and episub.
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