Navigation
API > API/Runtime > API/Runtime/HTTP
References
| Module | HTTP |
| Header | /Engine/Source/Runtime/Online/HTTP/Public/HttpRetrySystem.h |
| Include | #include "HttpRetrySystem.h" |
Syntax
struct FExponentialBackoffCurve
Remarks
Model for computing exponential backoff using the formula: Base**(CurrentRetryAttempt + Bias) Then applying jitter to the backoff. Jitter application is performed by selecting a random value in the [Min, Max] range and multiplying it against the computed backoff. Half jitter can be implemented using { 0.5, 1.0 }, which becomes Backoff' = Backoff * Rand(0.5, 1.0) = Backoff/2 + Rand(0, Backoff/2) Full jitter can be implemented using { 0.0, 1.0 }, which becomes Backoff' = Backoff * Rand(0.0, 1.0) = Rand(0.0, Backoff) No jitter can be implemented using { 0.0, 0.0 } or any pair that where Min > Max. Backoff' = Backoff
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Base | Exponential backoff base | |
| float | ExponentBias | Exponential backoff bias added to the current retry number | |
| float | MaxBackoffSeconds | Max back off seconds | |
| float | MaxCoefficient | Exponential backoff jitter coefficient maximum value. Defaults to half jitter | |
| float | MinCoefficient | Exponential backoff jitter coefficient minimum value. Defaults to half jitter |