pub struct ThrottleSpec {
pub high: f64,
pub low: Option<f64>,
pub control: String,
pub start: Option<f64>,
pub floor: f64,
pub window: String,
}Expand description
Adaptive backpressure governor parameters (SRD-83 §throttle).
The governor keeps the WINDOWED attempt-failure fraction — the
see-through-retries saturation signal — under high by walking
the named dynamic control down multiplicatively, and recovers it
toward the authored ceiling while the window stays under low.
Fields§
§high: f64Windowed attempt-failure fraction that triggers a back-off.
low: Option<f64>Fraction below which the governor recovers toward the
authored ceiling. Default: high / 5.
control: StringThe dynamic control to walk: concurrency (default) or rate.
start: Option<f64>Initial offered value (slow-start seed). Default: floor —
the governor assumes the most fragile target and PROVES
headroom by doubling through clean windows. Declare a higher
start only for targets known to be robust at phase entry.
floor: f64Never throttle below this value.
window: StringEvaluation window (duration string, e.g. “2s”).