token-bucket

Rate limiter using lazy bucket algorithm

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

Version on this page:0.1.0.1@rev:5
LTS Haskell 22.14:0.1.0.1@rev:7
Stackage Nightly 2024-03-29: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:d8e85f2fc373939975e7ace7907baee177531ab6e43df94e330a2357e64a2d11,1899

Module documentation for 0.1.0.1

Depends on 1 package(full list with versions):
Used by 1 package in lts-14.27(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