AWS Batch-如何限制并发作业数 [英] AWS batch - how to limit number of concurrent jobs

查看:119
本文介绍了AWS Batch-如何限制并发作业数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法,通过将其余作业保留在队列中来限制正在运行的批处理作业的数量. AWS批处理有可能吗?

I am looking for a way to limit the number of batch jobs that are running by holding the remaining jobs in the queue. Is it possible with aws batch?

推荐答案

限制

Limiting the maximum number of vcpus of the managed compute environment the queue is tied to will effectively limit the number of batch jobs running concurrently on that queue.

但是,需要注意的是,如果您有其他共享此计算环境的队列,它们也将受到相应的限制.此外,如果您要限制与该队列相关联的多个计算环境,并且RUNNABLE状态下有足够的等待作业,Batch最终将开始在辅助计算环境上调度作业.

However, this comes with the caveat that, if you have other queues sharing this compute environment, they would also be limited accordingly. Moreover, if you have multiple compute environments associated with that queue you are attempting to limit, Batch will eventually begin scheduling jobs on the secondary compute environments if there are enough jobs waiting in the RUNNABLE state.

这篇关于AWS Batch-如何限制并发作业数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆