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

Let the user customize the concurrency levels #407

Open
ek-nyc opened this issue Nov 12, 2024 · 1 comment
Open

Let the user customize the concurrency levels #407

ek-nyc opened this issue Nov 12, 2024 · 1 comment
Assignees

Comments

@ek-nyc
Copy link

ek-nyc commented Nov 12, 2024

right now it starts low and goes up 5 concurrent users at a time. Can we have a csv of concurrent user count, e.g. 50,100,150?

@alwayslove2013
Copy link
Collaborator

@ek-nyc Thank you very much for your suggestion.
Currently, you can adjust the concurrency by modifying the code and restarting the application.

NUM_CONCURRENCY = env.list("NUM_CONCURRENCY", [1, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100], subcast=int )

Or you can also configure the concurrency by using environment variables.

export NUM_CONCURRENCY=50,100,150
init_bench

We will support configuring concurrency parameters through the Web UI in future versions.

@alwayslove2013 alwayslove2013 self-assigned this Nov 13, 2024
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

No branches or pull requests

2 participants