The exact behavior and timing can be adjusted by varying the values of QDEPTHHI, TRIGDEPTH, and MAXDEPTH.
确切的行为和时间可以通过QDEPTHHI、TRIGDEPTH 和 MAXDEPTH 的值调整。
The MAXDEPTH is 1,000 and the QDEPTHHI is 80, resulting in a pruned depth of 800 messages (1000 * 80% = 800).
MAXDEPTH 为 1,000,QDEPTHHI 为 80,结果得到 800条消息(1000 * 80% = 800)的修剪后深度。
Event queues typically accumulate messages gradually, so you can tune TRIGDEPTH and QDEPTHHI close to MAXDEPTH.
通常,事件队列逐渐聚集消息,因此,您可以将TRIGDEPTH和qdepthhi调优为接近MAXDEPTH。
The difference between TRIGDEPTH and MAXDEPTH should be large enough to hold about 1-2 seconds worth of messages.
TRIGDEPTH和MAXDEPTH之间的差异应该达到足以容纳1 - 2秒内到达的消息。
ChompQ.pl queries QDEPTHHI, CURDEPTH, and MAXDEPTH of the triggered queue to determine how many messages to delete from the queue.
pl查询被触发的队列的QDEPTHHI、CURDEPTH和MAXDEPTH,确定需要从队列删除多少消息。
In most cases, this is the desired behavior and is treated as a tuning problem: increase MAXDEPTH until the queue can absorb the highest peak loads.
在大多数用例中,这是理想的行为,并被视为一个调优问题:增加maxdepth值,直到队列能吸收最高峰值负载。
Eliminating soft limits: in the course of developing a new application, it is quite common to bump into the soft limits such as MAXDEPTH or MAXMSGL.
消除软限制:在开发新应用程序的过程中,偶然碰到诸如MAXDEPTH或MAXMSGL等软限制是相当常见的。
On the other hand, if messages will be arriving quickly, it might be necessary to raise MAXDEPTH and set TRIGDEPTH and QDEPTHHI to much lower values.
另一方面,如果消息达到速度很快,则可能需要提高MAXDEPTH的值并大幅减小trigdepth和QDEPTHHI的值。
For example, with the default MAXDEPTH of 5,000, a QDEPTHHI value of 80 represents 4,000 messages and each percentage point above or below that represents a 50-message increment.
例如,如果maxdepth默认值为5,000,qdepthhi值80表示4,000消息,高于或低于该值一个百分点表示一个50条消息增量。
For example, with the default MAXDEPTH of 5,000, a QDEPTHHI value of 80 represents 4,000 messages and each percentage point above or below that represents a 50-message increment.
例如,如果maxdepth默认值为5,000,qdepthhi值80表示4,000消息,高于或低于该值一个百分点表示一个50条消息增量。
应用推荐