token-bucket: Rate limiter using lazy bucket algorithm

[ concurrency, gpl, library ] [ Propose Tags ] [ Report a vulnerability ]

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

Modules

[Index]

Flags

Manual Flags

NameDescriptionDefault
use-cbits

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

Enabled

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
Change log changelog.md
Dependencies base (>=4.6 && <5) [details]
Tested with ghc ==9.4.4, ghc ==9.2.5, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3, ghc ==7.8.4, ghc ==7.6.3
License GPL-3.0-only
Author Herbert Valerio Riedel
Maintainer https://github.com/haskell-hvr/token-bucket
Revised Revision 7 made by AndreasAbel at 2023-01-27T07:53:31Z
Category Concurrency
Home page https://github.com/haskell-hvr/token-bucket
Bug tracker https://github.com/haskell-hvr/token-bucket/issues
Source repo head: git clone https://github.com/haskell-hvr/token-bucket.git
Uploaded by HerbertValerioRiedel at 2014-12-06T09:02:34Z
Distributions Debian:0.1.0.1, LTSHaskell:0.1.0.1, NixOS:0.1.0.1, Stackage:0.1.0.1
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 4055 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]