Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add network delay scenario and automated test run by tag #66

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

gvelez17
Copy link

@gvelez17 gvelez17 commented Aug 19, 2023

See ./scenarios/README.md for instructions

Once the cluster is set up, you can just run

python3 exer_image.py 2.37.0-rc.1

to load test the specified js-ceramic image, using a 5-second simulated network delay. The script is a bit hacky but edits the required files and kicks off the load test automatically.

A run looks like this

gv@birdbox scenarios % python3 exer_image.py 2.36.1
Context "gke_box-benchmarking-ipfs-testing_us-central1-c_load-testing-with-network-delays" modified.
network.keramik.3box.io/load-with-delay-for-2-36-1 created
Context "gke_box-benchmarking-ipfs-testing_us-central1-c_load-testing-with-network-delays" modified.
statefulset.apps/cas patched
namespace/keramik-load-with-delay-for-2-36-1 labeled
virtualservice.networking.istio.io/delay-cas created
simulation.keramik.3box.io/ceramic-write-only-simulation created
Running simulation for load-with-delay-for-2-36-1
See https://us3.datadoghq.com/apm/home for results
to clean up in 15 minutes run `kubectl delete -f network-with-cas.html`

@gvelez17 gvelez17 requested review from dbcfd and 3benbox August 19, 2023 05:15
@gvelez17 gvelez17 changed the title add scenarios to load test any js-ceramic release with simulated delays This is a semantic, yet meaningless, title. Aug 19, 2023
@gvelez17 gvelez17 changed the title This is a semantic, yet meaningless, title. feat: add network delay and automated test run by tag Aug 19, 2023
@gvelez17 gvelez17 changed the title feat: add network delay and automated test run by tag feat: add network delay scenario and automated test run by tag Aug 19, 2023
@gvelez17 gvelez17 force-pushed the gvelez/gcp-load-test-with-network-delay-by-tag branch from 4420afb to 8c419ea Compare August 19, 2023 05:23
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.

1 participant