See https://en.wikipedia.org/wiki/Token_bucket. Uses fast atomic operations wherever possible.
gregorycollins/token-limiter
Fast rate limiting for Haskell using the token bucket algorithm. BSD-licensed.
HaskellBSD-2-Clause
Fast rate limiting for Haskell using the token bucket algorithm. BSD-licensed.
HaskellBSD-2-Clause
See https://en.wikipedia.org/wiki/Token_bucket. Uses fast atomic operations wherever possible.