token-bucket: Rate limiter using lazy bucket algorithm

[ concurrency, gpl, library ] [ Propose Tags ]

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".

Versions 0.1.0.0, 0.1.0.1
Change log changelog.md
Dependencies base (>=4.6 && <4.13) [details]
License GPL-3.0-only
Author Herbert Valerio Riedel
Maintainer hvr@gnu.org
Revised Revision 4 made by HerbertValerioRiedel at Sat Aug 11 20:01:56 UTC 2018
Category Concurrency
Home page https://github.com/hvr/token-bucket
Bug tracker https://github.com/hvr/token-bucket/issues
Source repo head: git clone https://github.com/hvr/token-bucket.git
Uploaded by HerbertValerioRiedel at Sat Dec 6 09:02:34 UTC 2014
Distributions NixOS:0.1.0.1
Downloads 1438 total (9 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

Modules

[Index]

Flags

NameDescriptionDefaultType
use-cbits

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

EnabledManual

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

Downloads

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