token-bucket: Rate limiter using lazy bucket algorithm

[ concurrency, gpl, library ] [ Propose Tags ]
Change log
Dependencies base (>=4.6 && <4.11) [details]
License GPL-3.0-only
Author Herbert Valerio Riedel
Revised Revision 2 made by HerbertValerioRiedel at Sat Apr 8 21:11:25 UTC 2017
Category Concurrency
Home page
Bug tracker
Source repo head: git clone
Uploaded by HerbertValerioRiedel at Sat Dec 6 09:02:34 UTC 2014
Distributions LTSHaskell:, NixOS:, openSUSE:
Downloads 1343 total (14 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

This implementation is heavily inspired by the one described in "Rate Limiting at Webscale: Lazy Leaky Buckets"





Use optimized getPOSIXTime implementation (faster by roughly one order of magnitude)


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees