Load Testing on DevNets

load_test_config.yml
# This file is used to configure the load test for non-ephemeral chains.
# It is intended to target a remote environment, such as a devnet or testnet.
is_ephemeral_chain: false

# testnet_node is the URL of the node that the load test will use to query the
# chain and submit transactions.
testnet_node: https://devnet-sophon-validator-rpc.poktroll.com

# The service ID to request relays from.
service_id: "anvil"

# The address of the account that will be used to fund the application accounts
# so that they can stake on the network.

# TODO_TECHDEBT(@bryanchriswhite, #512): Replace with faucet address.
funding_account_address: pokt1awtlw5sjmw2f5lgj8ekdkaqezphgz88rdk93sk # address for faucet account

# In non-ephemeral chains, the gateways are identified by their addresses.
gateways:
  - address: pokt15vzxjqklzjtlz7lahe8z2dfe9nm5vxwwmscne4
    exposed_url: https://devnet-sophon-gateway-1.poktroll.com
  - address: pokt15w3fhfyc0lttv7r585e2ncpf6t2kl9uh8rsnyz
    exposed_url: https://devnet-sophon-gateway-2.poktroll.com
  - address: pokt1zhmkkd0rh788mc9prfq0m2h88t9ge0j83gnxya
    exposed_url: https://devnet-sophon-gateway-3.poktroll.com
1

Run the test

make test_load_relays_stress_example
2

Observe the results

You can see the performance of the requests on the Grafana dashboards:

https://grafana.poktroll.com/d/nginx/nginx-ingress-controller

The DevNets have LoadBalancers which allow for more metrics about network load and latency. When looking at the NGINX Ingress controller Dashboard, make sure to change the namespace to match the DevNet name.

Last updated

Was this helpful?