New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nwaku simulation requirements #108
Comments
Thank you for putting this together @alrevuelta I do have some questions / comments:
|
No problem, will edit the requirements with just one source of traffic.
Since I assume this is not imlpemented, im fine with having the raw prometheus time series (without the distribution) by now.
Great feature!
No problem, lets stick to just the time series metrics to have something asap. pdfs are nice, but in a short simulation (eg few hours) perhaps with the time series if enough. So lets leave that by now :) |
As discussed in a meeting, we agreed on using the current features that we have in wakurtosis to run some simulations and try to i) learn more about nwaku behaviour with a significant amount of nodes and ii) showcase all the developed features and start using them in practice.
Here I list of nice to have set of requirements, more or less with what we discussed previosly having first test this in mind and adding some more specific details. Thinking about wakurtosis as a blackbox, I think we can divide these "requirements" into:
Simulation 1
Inputs:
nwaku
nodesrelay
protocolpubsub
topic300
discv5
with peers "randomly" forming a mesh. Meaning no hardcoded connections.6 hours
.b) 5 messages per second of 200 kBytes eaach. Fixed or gausian distributed is fine.v0.16.0
Output:
The existing pdf shared in the past with the results would be a perfect way to share the results. Would suggest adding more information such as release version, timestamp, and some time series information coming from prometheus (waku and nim-libp2p). So I would suggest keeping the existing report data in the pdfs we shared:
And would suggest plotting also a time series representation for the above metrics for a randomly amount of selected nodes (let's say 5). If we have 300 nodes displaying them all would be too much, but having some time series ones from a bunch of nodes, can help validating the simulation.
And add on top:
And the following prometheus metrics. Same as the other, some time series with a bunch of random ones,
and calculate the probability densitiy fuction of the rest (or similar statistical "summarized" representation.)libp2p_gossipsub_peers_per_topic_mesh
: important to check that stays between D_low and D_high, which are the healthy amount of peers for a topic.libp2p_gossipsub_received_total
: used to validate the message rate.(increase(libp2p_gossipsub_received_total[1m]))/60
will display the amount of messages per second.libp2p_peers
: amount of connected peers.Can you confirm if:
The text was updated successfully, but these errors were encountered: