![]() | DefaultResizer Properties |
The DefaultResizer type exposes the following members.
Name | Description | |
---|---|---|
![]() | BackoffRate |
Fraction of routees to be removed when the resizer reaches the
backoffThreshold.
For example, 0.1 would decrease 10% (rounded up), i.e. if current
capacity is 9 it will request an decrease of 1 routee.
|
![]() | BackoffThreshold |
Minimum fraction of busy routees before backing off.
For example, if this is 0.3, then we'll remove some routees only when
less than 30% of routees are busy, i.e. if current capacity is 10 and
3 are busy then the capacity is unchanged, but if 2 or less are busy
the capacity is decreased.
Use 0.0 or negative to avoid removal of routees.
|
![]() | LowerBound |
The fewest number of routees the router should ever have.
|
![]() | MessagesPerResize |
Number of messages between resize operation.
Use 1 to resize before each message.
|
![]() | PressureThreshold |
* Threshold to evaluate if routee is considered to be busy (under pressure).
Implementation depends on this value (default is 1).
|
![]() | RampupRate |
Percentage to increase capacity whenever all routees are busy.
For example, 0.2 would increase 20% (rounded up), i.e. if current
capacity is 6 it will request an increase of 2 more routees.
|
![]() | UpperBound |
The most number of routees the router should ever have.
Must be greater than or equal to `lowerBound`.
|