2023-09-22 06:47:40 +00:00
2023-09-06 13:59:43 +02:00
2023-09-12 08:11:27 +00:00
2023-09-12 08:11:27 +00:00
2023-06-26 17:07:14 +02:00
2023-09-22 06:47:40 +00:00
2023-08-16 14:04:49 +00:00
2023-09-22 06:47:40 +00:00
2023-09-05 10:46:53 +00:00
2023-09-12 08:11:27 +00:00
2023-06-26 17:07:14 +02:00
2023-09-22 06:47:40 +00:00
2023-08-11 14:05:14 +00:00
2023-08-11 14:05:14 +00:00
2023-08-17 16:01:17 +00:00
2023-09-12 08:11:27 +00:00

nwaku-simulator

Requires

  • docker
  • docker-compose

How to run

git clone https://github.com/waku-org/waku-simulator.git
cd waku-simulator

Configure the simulation parameters. You can place the env variable in an .env file.

export GOWAKU_IMAGE=statusteam/go-waku:latest
export NWAKU_IMAGE=statusteam/nim-waku:v0.18.0-rc.0
export NUM_NWAKU_NODES=5
export NUM_GOWAKU_NODES=5
export MSG_PER_SECOND=10
export MSG_SIZE_KBYTES=10
docker-compose up -d

This will:

  • spin up grafana/prometheus for monitoring, see http://localhost:3000.
  • spin up a bootstrap nwaku node.
  • spin up a given amount of nwaku/gowaku nodes with specific versions.
  • spin up a waku-publisher instance that will inject traffic into the network (see flags for rate and msg size)

notes

The default login/password for grafana is admin/admin.

warning

in case arp tables are overflowing:

sysctl net.ipv4.neigh.default.gc_thresh3=32000
Description
Tool to simulate a waku network with multiple nodes, traffic and users
https://simulator.waku.org
Readme
Languages
Python 55.9%
Shell 32.3%
HTML 9.9%
Dockerfile 1.9%