ExqLimit v0.1.1 API Reference

Modules

This module provides the ability to combine multiple rate limiters together.

This module implements the GCRA algorithm. Check the blog post by brandur for an excellent introduction.

Exq comes with concurrency control support per queue, but it's limited to a single worker node. This module on the other hand limits the concurrency globally across all the worker nodes. For example, with a limit of 10, if there are two active worker nodes, each will be allowed to work on 5 concurrent jobs. The limits per worker node will get auto adjusted when new worker nodes get added or existing ones get removed.

It limits the total number of concurrent jobs on a single node. same as the Exq default rate limiter.