userver: utils::AimdLimiter::Policy Struct Reference
Loading...
Searching...
No Matches
utils::AimdLimiter::Policy Struct Reference

#include <userver/utils/aimd_limiter.hpp>

Detailed Description

AIMD limit update policy.

Definition at line 29 of file aimd_limiter.hpp.

Public Attributes

std::size_t min_limit {2}
 Lower bound for the limit, must be positive.
double alpha {1.0}
 Additive increase coefficient, must be positive and finite.
double beta {0.5}
 Multiplicative decrease coefficient, must be in range (0, 1).

Member Data Documentation

◆ alpha

double utils::AimdLimiter::Policy::alpha {1.0}

Additive increase coefficient, must be positive and finite.

Definition at line 33 of file aimd_limiter.hpp.

◆ beta

double utils::AimdLimiter::Policy::beta {0.5}

Multiplicative decrease coefficient, must be in range (0, 1).

Definition at line 35 of file aimd_limiter.hpp.

◆ min_limit

std::size_t utils::AimdLimiter::Policy::min_limit {2}

Lower bound for the limit, must be positive.

Definition at line 31 of file aimd_limiter.hpp.


The documentation for this struct was generated from the following file: