vacp2p / research

Thinking in code
MIT License
62 stars 4 forks source link

Waku v2 benchmarking: load testing #102

Open jm-clius opened 2 years ago

jm-clius commented 2 years ago

Background

The original plan for Waku v2 suggested scalability and performance at a level necessary for a large, p2p, generalised messaging network. Given that Waku v2 is aimed at resource restricted environments, we are specifically interested in its scalability and resource usage characteristics. The actual scalability limits of a Waku v2 network, however, has never been tested in a realistic production environment.

Proposal

Perform load testing using a test network to understand:

Note that a third party outside of Status could be contracted to help with these stress tests.

D4nte commented 2 years ago

Can we please add some peer connection metrics:

For both scenarios and to make it relevant to js-waku:

Also, I think it may make sense to use digitalocean's droplet as a baseline re resources. (1 vCPU, 2 GB RAM). This would give an idea to operators:

jm-clius commented 2 years ago

Good suggestions, thanks!