Overview
-
module Async
-
module Limiter
-
class Generic
Generic limiter class with unlimited concurrency by default.
-
class Limited
Limited concurrency limiter that enforces a strict task limit.
-
class Queued
Queue-based limiter that distributes pre-existing resources with priority/timeout support.
-
module Timing
-
module Burst
Provides burst control strategies for timing limiters.
-
module Greedy
Allows tasks to cluster within windows for high-throughput scenarios.
-
module Smooth
Enforces even task distribution to prevent clustering.
-
-
class FixedWindow
Fixed window timing strategy with discrete boundaries aligned to clock time.
-
class LeakyBucket
Leaky bucket timing strategy that smooths traffic flow.
-
module None
No timing constraints - tasks can execute immediately.
-
class Ordered
Ordered timing strategy wrapper that preserves FIFO ordering.
-
class SlidingWindow
Sliding window timing strategy with rolling time periods.
-
-
class Token
Token that represents an acquired resource and can be used to release or re-acquire.
-
-
-
Provider
Metrics provider for Async::Limiter::Generic instrumentation.