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 14.27:0.1.0.1@rev:5
Stackage Nightly 2019-09-21:0.1.0.1@rev:4
Latest on Hackage:0.1.0.1@rev:6

See all snapshots token-bucket appears in

GPL-3.0-only licensed by Herbert Valerio Riedel
Maintained by hvr@gnu.org
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