Tool to simulate a waku network with multiple nodes, traffic and users https://simulator.waku.org
Go to file
alrevuelta ee0381e7bf
Add gowaku prometheus targets
2023-06-27 11:40:54 +02:00
monitoring Add gowaku prometheus targets 2023-06-27 11:40:54 +02:00
.gitignore Initial release 2023-06-26 17:07:14 +02:00
README.md Update nwaku version 2023-06-27 11:27:41 +02:00
docker-compose.yml Update go-waku version 2023-06-27 11:28:34 +02:00
run_bootstrap.sh Initial release 2023-06-26 17:07:14 +02:00
run_gowaku.sh Initial release 2023-06-26 17:07:14 +02:00
run_nwaku.sh Initial release 2023-06-26 17:07:14 +02:00
run_wakupublisher.sh Initial release 2023-06-26 17:07:14 +02:00
traffic.py Initial release 2023-06-26 17:07:14 +02:00

README.md

nwaku-simulator

Requires

  • docker
  • docker-compose

How to run

Without changing anything:

git clone 
cd waku-simulator
export NWAKU_IMAGE=statusteam/nim-waku:v0.18.0-rc.0
export NUM_NWAKU_NODES=5
docker-compose up -d

This will:

  • spin up grafana/prometheus for monitoring
  • spin up a bootstrap nwaku node
  • spin up NUM_NWAKU_NODES nwaku nodes
  • spin up a waku-publisher instance that will inject traffic into the network (see flags for rate and msg size)

Nodes can be monitored here: http://localhost:3000/d/yns_4vFVk/nwaku-monitoring?orgId=1

warning

in case arp tables are overflowing:

sysctl net.ipv4.neigh.default.gc_thresh3=32000