Coming from these top level requirements this issue aims to break down in lower level requirements, all tasks required to accomplish the First Network Test presented in the issue. If you think any of the tasks have to be further discussed, feel free to open an issue.
Assumptions:
Only relay protocol is supported
Only nwaku client is tested
All nodes are visible to each other.
Tracker: First Network Test
[x] Hardcoded configuration to spin up two hardcoded nwaku nodes:
[ ] A metrics such as node resource consumption - CPU, bandwidth and memory usage. Edit: Tackled with #76 , completed when integrated with Prometheus.
[x] Write a first experimental test, eg curl localhost:8003/metrics | grep waku_connected_peers and assert that after some time its >x. Edit: Done in #39
[x] Allow nodes to use a given nodekey so its peerId is known in advance before starting the node. Edit: Done in #6
[x] Incorporate discovery via discv5, conneting only small subset of nodes with staticnode(s) or discv5-bootstrap-node(s) and letting the peers discover each other. Done in #99
[x] Publish (from a random subset of nodes) messages of size s at a rate r. Done in #19
[ ] Measure reliability, using a seq counter to the message payload.
[ ] Measure latency using the sender timestamp field.
cc @AlbertoSoutullo @Daimakaimura @LNSD
Let me know what you think.
Coming from these top level requirements this issue aims to break down in lower level requirements, all tasks required to accomplish the
First Network Test
presented in the issue. If you think any of the tasks have to be further discussed, feel free to open an issue.Assumptions:
relay
protocol is supportednwaku
client is testedTracker: First Network Test
nwaku
nodes:n
configurablenwaku
nodes.curl localhost:8003/metrics | grep waku_connected_peers
and assert that after some time its>x
. Edit: Done in #39nodekey
so its peerId is known in advance before starting the node. Edit: Done in #6discv5
, conneting only small subset of nodes withstaticnode
(s) ordiscv5-bootstrap-node
(s) and letting the peers discover each other. Done in #99cc @AlbertoSoutullo @Daimakaimura @LNSD Let me know what you think.