Class AimdLimit

java.lang.Object
io.helidon.common.concurrency.limits.AimdLimit
All Implemented Interfaces:
RuntimeType.Api<AimdLimitConfig>, Limit, LimitAlgorithm, NamedService

public class AimdLimit extends Object implements LimitAlgorithm, Limit, RuntimeType.Api<AimdLimitConfig>
AIMD based limiter.

The additive-increase/multiplicative-decrease (AIMD) algorithm is a feedback control algorithm best known for its use in TCP congestion control. AIMD combines linear growth of the congestion window when there is no congestion with an exponential reduction when congestion is detected.

  • Field Details

    • DEFAULT_QUEUE_LENGTH

      public static final int DEFAULT_QUEUE_LENGTH
      Default length of the queue.
      See Also:
    • DEFAULT_QUEUE_TIMEOUT_DURATION

      public static final String DEFAULT_QUEUE_TIMEOUT_DURATION
      Timeout of a request that is enqueued.
      See Also:
  • Method Details