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

Investigate moving load test resources into containers #151

Open
MikeGoldsmith opened this issue Sep 7, 2023 · 1 comment
Open

Investigate moving load test resources into containers #151

MikeGoldsmith opened this issue Sep 7, 2023 · 1 comment
Labels
type: maintenance The necessary chores to keep the dust off.

Comments

@MikeGoldsmith
Copy link
Contributor

The current load test setup runs locust directly on the host machine and additional workers need to be spawned manually.

It would be nice if we could move the cluster (main and wokers) into Docker but on first attempt we were seeing resource utilisation issues. For example, the Docker VM had access to multiple CPUs but only used one which limited locust's ability to send higher rates of requests.

Locust's example docker-compose that configures a main node and 4 workers.

@MikeGoldsmith MikeGoldsmith added the type: enhancement New feature or request label Sep 7, 2023
@robbkidd robbkidd changed the title Investigate moving locust load testing into docker Investigate moving locust into containers Sep 20, 2023
@robbkidd
Copy link
Member

Another option: we could deploy locust into k8s so that its client traffic to other k8s services appears as tcp streams between pods. OTel microservices demo does this with their own load-generator image; ours might be simpler than theirs.

@robbkidd robbkidd added type: maintenance The necessary chores to keep the dust off. and removed type: enhancement New feature or request labels Sep 20, 2023
@MikeGoldsmith MikeGoldsmith changed the title Investigate moving locust into containers Investigate moving load test resources into containers Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance The necessary chores to keep the dust off.
Projects
None yet
Development

No branches or pull requests

2 participants