io.helidon.common.concurrency.limits.AimdLimit
Description
Configuration of io.helidon.common.concurrency.limits.AimdLimit
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
queue-timeout | Duration | PT1S | How long to wait for a permit when enqueued |
min-limit | Integer | 20 | Minimal limit |
enable-metrics | Boolean | false | Whether to collect metrics for the AIMD implementation |
fair | Boolean | false | Whether the java.util.concurrent.Semaphore should be java.util.concurrent.Semaphore#isFair() |
initial-limit | Integer | 20 | Initial limit |
max-limit | Integer | 200 | Maximal limit |
timeout | Duration | PT5S | Timeout that when exceeded is the same as if the task failed |
backoff-ratio | Double | 0.9 | Backoff ratio to use for the algorithm |
queue-length | Integer | 0 | How many requests can be enqueued waiting for a permit after the max limit is reached |
Usages
server.concurrency-limit.aimdserver.features.limits.concurrency-limit.aimdserver.sockets.concurrency-limit.aimd
See the manifest for all available types.