zilliztech / VectorDBBench

A Benchmark Tool for VectorDB
MIT License
561 stars 151 forks source link

Let the user customize the concurrency levels #407

Open ek-nyc opened 2 weeks ago

ek-nyc commented 2 weeks ago

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 commented 1 week ago

@ek-nyc Thank you very much for your suggestion. Currently, you can adjust the concurrency by modifying the code and restarting the application. https://github.com/zilliztech/VectorDBBench/blob/1ab46dd5d1594565148f8b90cc75b71ff11688e1/vectordb_bench/__init__.py#L25

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.