Add explicit reiteration delay to object selector #26

Open
opened 2023-03-08 23:37:55 +00:00 by snegurochka · 1 comment
Member

Original issue: https://github.com/nspcc-dev/xk6-neofs/issues/31

To prevent object selector from excessive re-iteration over bolt database we make a small delay after we made a pass over the database and before we start a new cycle.

Currently this delay is calculated based on Age of objects in the selector's filter. However, Age filter is quite specific and is used just for deletion. More flexible approach would be to have reiterateDelay that can be explicitly supplied into object selector.

Original issue: https://github.com/nspcc-dev/xk6-neofs/issues/31 To prevent object selector from excessive re-iteration over bolt database we make a small delay after we made a pass over the database and before we start a new cycle. Currently this delay is [calculated](https://github.com/nspcc-dev/xk6-neofs/pull/30/files#diff-ed717041f007935ab8411c62c07415757f3197403f428015182952ab2e894833R151) based on Age of objects in the selector's filter. However, Age filter is quite specific and is used just for deletion. More flexible approach would be to have `reiterateDelay` that can be explicitly supplied into object selector.
alexvanin added the
P2
label 2023-03-10 09:22:19 +00:00
alexvanin added a new dependency 2023-03-10 09:22:44 +00:00
Owner

Need some clarification.

Need some clarification.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
#20 Add pprof to the k6 itself
TrueCloudLab/xk6-frostfs
Reference: TrueCloudLab/xk6-frostfs#26
No description provided.