Module limit

Source
Expand description

Tower middleware for limiting requests.

Modules§

concurrency
Limit the max number of requests being concurrently processed.
rate
Limit the rate at which requests are processed.

Structs§

ConcurrencyLimit
Enforces a limit on the concurrent number of requests the underlying service can handle.
ConcurrencyLimitLayer
Enforces a limit on the concurrent number of requests the underlying service can handle.
GlobalConcurrencyLimitLayer
Enforces a limit on the concurrent number of requests the underlying service can handle.
RateLimit
Enforces a rate limit on the number of requests the underlying service can handle over a period of time.
RateLimitLayer
Enforces a rate limit on the number of requests the underlying service can handle over a period of time.