Skip to content

Conversation

@AYAHASSAN287
Copy link
Collaborator

@AYAHASSAN287 AYAHASSAN287 commented Sep 25, 2025

Summary

This PR adds new performance and stress test scripts to the waku-protocol-perf-test repo
.
The scripts simulate high-concurrency Store queries, CPU-bound workloads, and multi-node service configurations to benchmark Waku Store under load.

Test data and metrics can be observed on Grafana → Grafana dashboard

Scope (new scripts)

stress1_high_concurrency.sh → High-concurrency Store stress test.

store_scenario_6.sh → Store scenario with phased query loads.

store_cpu_stress.sh → CPU-focused Store load test.

nodes_15_scenario2.sh → 15-node simulation with Store-heavy workloads.

nodes_15_service_1.sh → Service-node constrained environment test.

stress_high_concurrency_scenario2.sh → Extended high-concurrency Store stress.

stress_alternate_high_concurrency_scenario3 → Extended high-concurrency Store stress with different configurations

How to Run

Navigate to the main directory of the repo:
waku-protocol-perf-test

Run any script with:
./<script_name>.sh

export RLN_ENABLED=false

export SERVICENODE_CPU_CORES="0-3"
export SERVICENODE_MEM_LIMIT=512m

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depending on the test, but in this particular case, for pushing large messages (above 100k) in every 100ms... 500MB ram can be low for a service node.
I recommend at least 2GB... for such case.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants