Skip to content

io.helidon.common.concurrency.limits.AimdLimit

Description

Configuration of io.helidon.common.concurrency.limits.AimdLimit

Configuration options

KeyTypeDefaultDescription
queue-timeoutDurationPT1SHow long to wait for a permit when enqueued
min-limitInteger20Minimal limit
enable-metricsBooleanfalseWhether to collect metrics for the AIMD implementation
fairBooleanfalseWhether the java.util.concurrent.Semaphore should be java.util.concurrent.Semaphore#isFair()
initial-limitInteger20Initial limit
max-limitInteger200Maximal limit
timeoutDurationPT5STimeout that when exceeded is the same as if the task failed
backoff-ratioDouble0.9Backoff ratio to use for the algorithm
queue-lengthInteger0How many requests can be enqueued waiting for a permit after the max limit is reached

Usages


See the manifest for all available types.