Bucket selection parameter #44

Open
opened 2025-12-28 18:13:43 +00:00 by sami · 0 comments
Owner

Originally created by @EESergey on GitHub (Dec 1, 2025).

If there are more buckets than VU, not all buckets will be used (in round-robin mode).
If one bucket stops responding, all VU will very quickly start waiting for it to respond and stop sending requests to other buckets (in random mode).
The load distribution across the buckets at any given time may be uneven, which may lead to overloading (in random mode).
Depending on the testing goals, I want to have the option to choose.

Describe the solution you'd like

Add a parameter that defines the VU's bucket selection algorithm.
For example: -e BUCKET_SELECTION=round-robin or -e BUCKET_SELECTION=random
round-robin: like in nspcc-dev/xk6-neofs@ad564322d5, for PUT, GET and DELETE requests.
random: current behavior, default value.

Originally created by @EESergey on GitHub (Dec 1, 2025). ## Is your feature request related to a problem? Please describe. If there are more buckets than VU, not all buckets will be used (in round-robin mode). If one bucket stops responding, all VU will very quickly start waiting for it to respond and stop sending requests to other buckets (in random mode). The load distribution across the buckets at any given time may be uneven, which may lead to overloading (in random mode). Depending on the testing goals, I want to have the option to choose. ## Describe the solution you'd like Add a parameter that defines the VU's bucket selection algorithm. For example: `-e BUCKET_SELECTION=round-robin` or `-e BUCKET_SELECTION=random` round-robin: like in https://github.com/nspcc-dev/xk6-neofs/commit/ad564322d57ac48f5ce351bca90a386ef5d4ec79, for PUT, GET and DELETE requests. random: current behavior, default value.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/xk6-neofs#44
No description provided.