Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.16 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.16 KB

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.