nl.vroste.rezilience.RateLimiter
See theRateLimiter companion object
trait RateLimiter
Limits the number of calls to a resource to a maximum amount in some interval
Uses a token bucket algorithm
Note that only the moment of starting the effect is rate limited: the number of concurrent executions is not bounded. For that you may use a Bulkhead
Calls are queued up in an unbounded queue until capacity becomes available.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
In this article