Celery. How to automate employee processes.

I read from the celery documentation that we can autoscale concurrency using the autoscale option when starting the worker.

I added 200 tasks in turn and each task takes 5 seconds to complete. I started with autoscaling at 3 minutes concurrency and 15 max concurrency, but starting it with only 3 processes and I don't see an increase in the number of processes.

Using celery with a rabbit.

+3


source to share





All Articles