This repo contains tools for analysing performance around the Store protocol
The Golang project is aimed to setup go-waku
clients that publish messages
and later make requests trough the Store protocol to retrieve the stored
messages
To run the tests, go to the go
folder and run the make
command.
Notice that the go
tool expects a running nwaku
node(s) to be running with
Store protocol mounted, and a running postgres database.
Simple script that allows to publish messages from different clients.
BASH
(n clients) --json-rpc--> nwaku_A
<--relay--> nwaku_B
<---> database
Notice that the bash script expects two nwaku
nodes that communicate through
the Relay protocol and the nwaku_B
has the Store protocol mounted and
is connected to the postgres_DB
.
Contains a docker compose file with:
- Two
nwaku
nodes configured with Postgres and SQLite. - Grafana container to compare performance of both nodes.
- Container with simple shell script that sends publish requests through rpc.
- Two
nwaku
nodes configured as Store-clients and listening to REST requests.
Inside the docker folder, we have a jmeter test plan which is aimed for performing concurrent Store REST requests to the Store-clients.