如果在正常的生产或测试周期中按一定的间隔发出此命令,则可以捕获和跟踪在此期间已处理的消息数量和队列最高深度。
If issued at regular intervals during a normal production or test cycle, you can capture and track the number of messages that have been processed during that interval and the queue high depth.
但是,服务器的数量也可以增加以应对短期流量剧增,或在一定的间歇期间减少。
However, the number of servers can also be increased to accommodate short-term spikes in traffic or decreased during periodic lulls.
这个操作要消耗一定的时间,实际上,这个时间太长了,可能在进行这项操作的同时,线程所等待的条件变量的值在这期间已经改变了。
This may take some time. In fact, it may take so much time that the condition you were waiting for is no longer the case.
应用推荐