This repo holds the config files and scripts used for my comparison between aetherlay and dshackle, which I posted about here.
-
Replace the
REPLACE_MEplaceholders with the RPC endpoints you want to use for your tests. You'll find them in these files:services/aetherlay/values/endpoints.jsonservices/dshackle/configmap.yaml
-
Deploy both services to your local minikube. For dshackle, you can simply run the script
services/dshackle/deploy.shbut, for aetherlay, since I had already deployed it using Terraform, I didn't waste time changing that, so you'll need to move to theservices/aetherlaydirectory and runterraform init && terraform applyin order to deploy it. -
Install k6 following the official docs.
-
Run the tests:
cd test-scripts k6 cloud run --local-execution k6-aetherlay.js k6 cloud run --local-execution k6-dshackle.jsIf you want to test different scenarios, just update the scripts to match the amount of VUs and duration that you want for each test. I could've automated this, but honestly it didn't feel like it was worth it since I didn't have to run hundreds of tests