ananthakumaran / exq_limit

Exq Rate Limiter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Exq Rate Limiter

License:MIT License


Languages

Language:Elixir 84.8%Language:Lua 15.2%