flow-development-collection icon indicating copy to clipboard operation
flow-development-collection copied to clipboard

TASK: Allow finer control of accepted read and write latency of FileBackends

Open fcool opened this issue 6 years ago • 0 comments

This change raises the default maximal wait time for FileBackend operations to 10 ms, while not affecting the performance on filesystems, which are able to react in the previous latency window.

Additionally it minimizes the random factor of waiting, but maintains the randomized acquiring strategy to let eventual races settle, by repeating the randomized wait time until a fixed amount of time has passed.

The amount of time passing is configurable for read and write latency.

fcool avatar Oct 13 '19 00:10 fcool