sidekiq-throttled icon indicating copy to clipboard operation
sidekiq-throttled copied to clipboard

Dynamic Throttling depending on usage

Open farojos opened this issue 3 months ago • 0 comments

My goal is to allow at least 100 jobs per account with a maximum of 600 concurrent jobs in a minute. However, I would like this to be dynamic based on the usage of the queue.

For instance, if there is high usage of the queue (e.g., 300 jobs in a minute), I would like the system to automatically decrease the maximum jobs per account to 20. Similarly, if there are 500 jobs in a minute, the system should decrease the maximum jobs per account to 10.

Could this be possible? Any guidance or suggestions would be greatly appreciated.

farojos avatar Apr 04 '24 17:04 farojos