-
Notifications
You must be signed in to change notification settings - Fork 661
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
Autoscaler is too slow (or run too seldom) #658
Comments
Not sure what's going on here. Maybe @themsaid can help? |
Another strange thing: 5 queues, 2000 processes, min_processes 50.
3 queues basically idle, two have thousands of jobs. Images in chronological order |
The function |
I have ask the same thing in #622 |
Percentage increase/decrease maybe an idea? Example: 5% If only 5 processes it would simply be rounded up to 1 (leading back to default) but if 1000 processes, it would work in intervals of 50. |
Scaling happens every 3 seconds and each time it starts/ends 1 process, is that what you call slow? Not sure what expectation you have. |
It's unclear whether there is anything actionable in this issue. It is basically "I don't like the way autoscaling works". If anyone has a better solution it can be PR'd at any time. |
What about being able to set the scale amount and/or the time between checking whether to scale in the config? |
Description:
Supervisor with 6 queues and 1800 processes (3 other supervisors running too, but with not much workers and jobs).
Starts with 300 processes, then the numbers go down.
There is a lot of jobs in one queue, yet the number of workers rises very slowly. It may take over half an hour to an hour to rise. Although all other queues are empty.
(in the image below there were some jobs in other queues, but even if other queues are empty, the number of workers rises slowly - here it rose to 1300, but it took long time)
Steps To Reproduce:
Make a supervisor like
The number of workers will decrease from 300.
Add 100.000 jobs in
one
queue, and make each job run for random(5,200) seconds.The queue workers number will rise slowly.
The text was updated successfully, but these errors were encountered: