1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
The celery.worker_autoscale
property takes value in the order max_concurrency,min_concurrency
, and determines how many concurrent tasks can run within a worker. As such, a value of 5,5
(default for MWAA small class) means a worker will always keep 5 processes at both minimum and maximum. Whereas, a value of 5,0
means a worker will start with 0 process, but can grow up to 5 process if necessary. In other words, for more resource intensive tasks, having 5,0
can potentially allow more resource to a task when there aren't many concurrent tasks. These values need to be tuned based on the chosen worker size (small, medium or large) and nature of the task.
I hope this helps.
answered 2 months ago
Relevant content
- asked 8 months ago
- asked 10 months ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 days ago
- AWS OFFICIALUpdated 8 months ago