Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Throttling depending on usage #187

Open
farojos opened this issue Apr 4, 2024 · 0 comments
Open

Dynamic Throttling depending on usage #187

farojos opened this issue Apr 4, 2024 · 0 comments

Comments

@farojos
Copy link

farojos commented Apr 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant