public class VegasLimit
extends com.netflix.concurrency.limits.limit.AbstractLimit
Queue size is calculated using the formula, queue_use = limit − BWE×RTTnoLoad = limit × (1 − RTTnoLoad/RTTactual)
For traditional TCP Vegas alpha is typically 2-3 and beta is typically 4-6. To allow for better growth and stability at higher limits we set alpha=Max(3, 10% of the current limit) and beta=Max(6, 20% of the current limit)
Refer to VegasLimit
| Modifier and Type | Class and Description |
|---|---|
static class |
VegasLimit.Builder |
| Modifier and Type | Method and Description |
|---|---|
protected int |
_update(long startTime,
long rtt,
int inflight,
boolean didDrop) |
static VegasLimit.Builder |
newBuilder() |
static VegasLimit |
newDefault() |
String |
toString() |
public static VegasLimit.Builder newBuilder()
public static VegasLimit newDefault()
protected int _update(long startTime,
long rtt,
int inflight,
boolean didDrop)
_update in class com.netflix.concurrency.limits.limit.AbstractLimitCopyright © 2023. All rights reserved.