Skip to content

ananthakumaran/exq_limit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.