token-bucket

Rate limiter using lazy bucket algorithm

https://github.com/hvr/token-bucket

Version on this page:0.1.0.1@rev:4
LTS Haskell 22.14:0.1.0.1@rev:7
Stackage Nightly 2024-03-28:0.1.0.1@rev:7
Latest on Hackage:0.1.0.1@rev:7

See all snapshots token-bucket appears in

GPL-3.0-only licensed by Herbert Valerio Riedel
Maintained by [email protected]
This version can be pinned in stack with:token-bucket-0.1.0.1@sha256:ef80a31e7f4f794e3686eb405a49afc663535dd3a11c012a002a7bacce897da6,1912

Module documentation for 0.1.0.1

Depends on 1 package(full list with versions):
Used by 1 package in lts-13.13(full list with versions):

This package provides a variant of a Token Bucket or Leaky Bucket rate-limiting algorithm optimised for low overhead.

The rate-limiting variant implemented by this package is heavily inspired by the algorithm described in "Rate Limiting at Webscale: Lazy Leaky Buckets".

Changes

0.1.0.1

  • Compat with GHC 7.10

0.1.0.0

  • Initial version