Skip to main content

Module http_rate_limit

Module http_rate_limit 

Source
Available on crate features polars-io and cloud only.

Structs§

Pacer
Lock-free hot path enforcing the rate-limit by pacing requests through the token bucket.
PacingBudget
Read-only view of the pacing budget including the learned rate-limit signal for internal consumers (e.g., ConcurrencyController). The cells contains learned rates (f64 bits in an AtomicU64), and are updated by the AIMD loop only. Valid for the process lifetime: object store rebuilds can rotate behind the cells rather than replacing them.

Type Aliases§

RateCell