Now that you can easily determine the length of the queue, you need a script to act on this data.
现在您可以很容易确定队列的长度,但是您还需要一个脚本来处理这个数据。
During queue creation, the user must specify the maximum length of the queue and the maximum size of an individual message.
在创建队列时,用户必须指定队列的最大长度和一个消息的最大大小。
If the length of the queue is more than 20 and there are fewer than two extra job servers running, then a server is launched.
如果队列的长度超过20,而且现在运行的服务器少于2个,那么就需要启动一个服务器。
应用推荐