1 回答
- 最新
- 投票最多
- 评论最多
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.
已回答 3 个月前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 9 个月前
- AWS 官方已更新 2 年前