exq_limit

Exq Rate Limiter


Keywords
exq, gcra
License
MIT

Documentation

ExqLimit

CI Hex.pm Hex Docs License

ExqLimit implements different types of rate limiting for Exq queue.

Example

config :exq,
  queues: [{"default", {ExqLimit.Global, limit: 10}}]

Types

ExqLimit.Global - Global concurrency limit across all worker nodes.

ExqLimit.Local - Local concurrency limit for a worker node.

ExqLimit.GCRA - An implementation of GCRA algorithm.

ExqLimit.And - A limiter which allows to combine other limiters.