博客已搬家, 更好阅读体验, 猛戳 http://www.jack-yin.com/coding/translation/activemq-in-action/1800.html
13.3 Optimizing message consumers
13.3 优化消息消费者
In order to maximize application performance, you have to look at all the
participants— and as we have seen so far, consumers play a big part in the
overall performance of ActiveMQ. Message consumers typically have to work twice
as hard as message producers, because in addition to consuming messages, they
have to acknowledge that the message has been consumed. We’ll explain some of
the biggest performance gains you can get with ActiveMQ by tuning the consumers.
为了最大限度的提升应用程序的性能,你必须关注所有影响性能的因素.到目前为止,消息消费者
在整个ActiveMQ系统的性能表现中都扮演着举足轻重的角色.通常,消息消费者必须要尽量以
2倍于消息生产者的速度运行,因为消费者还要通知代理消息已经被处理了.下面我们将介绍
通过优化消息消费者你可以获取的最大的性能提升.
Typically the ActiveMQ broker will deliver messages as quickly as possible to
consumer connections. Once messages are delivered over the transport from the
ActiveMQ broker, they’re typically queued in the session associated with the
consumer, where they wait to be delivered. In the next section we’ll explain
why and how the rate at which messages are pushed to consumers is controlled,
and how to tune that rate for better throughput.
通常,ActiveMQ代理会通过消费者连接尽可能快的发送消息.通常情况下,一旦消息通过ActiveMQ代理的传输连接
发送完成之后,消息就加入了与消费者关联的session队列中,并等待分发.在下一节中,我们将解释消息发送给消费者
的速度为何可控以及如何控制,同时还将阐述如何调整这个消息发送速率已获取更好的吞吐量.
..................
博客已搬家, 更好阅读体验, 猛戳 http://www.jack-yin.com/coding/translation/activemq-in-action/1800.html
相关推荐
10.10 多个生产者,多个消费者 196 10.11 多个缓冲区 199 10.12 进程间共享信号量 205 10.13 信号量限制 206 10.14 使用FIFO实现信号量 206 10.15 使用内存映射I/O实现信号量 210 10.16 使用System V信号量实现Posix...
10.10 多个生产者,多个消费者 196 10.11 多个缓冲区 199 10.12 进程间共享信号量 205 10.13 信号量限制 206 10.14 使用FIFO实现信号量 206 10.15 使用内存映射I/O实现信号量 210 10.16 使用System V信号量实现Posix...
3.6.5 流水线模型或生产者-消费者模型 3.6.6 混合模型 3.7 书目评注 习题 第4章 基本通信操作 4.1 一对多广播以及多对一归约 4.1.1 环或线性阵列 4.1.2 格网 4.1.3 超立方体 4.1.4 平衡二叉树 4.1.5 算法...
8.1.2 消费者与提供者 246 8.1.3 提供者和驱动程序 247 8.2 ADO 2.5对象模型 248 8.2.1 Connection对象 248 8.2.2 Command对象 249 8.2.3 Recordset对象 249 8.2.4 Record对象 249 8.2.5 Stream对象 250 ...
8.1.2 消费者与提供者 246 8.1.3 提供者和驱动程序 247 8.2 ADO 2.5对象模型 248 8.2.1 Connection对象 248 8.2.2 Command对象 249 8.2.3 Recordset对象 249 8.2.4 Record对象 249 8.2.5 Stream对象 250 ...
她是OakTable的成员,同时是Expert Oracle Practices (2010年 Apress出版)一书的合著者。 RIYAJ SHAMSUDEEN 专注于性能/数据恢复/电子商务的咨询公司OraInternals的首席数据库管理员和董事长。有近20年使用...
8.10.1 LO-SCI-POI 产品优化接口 206 8.11 LO-ADM 附加管理 207 9 SD-MD 销售 208 9.1.1 SD-MD 主数据 208 9.1.2 SD-MD-MM 物料维护 208 9.1.3 SD-MD-CM 条件 212 9.2 SD-BF-PR 定价和条件 212 9.2.1 SD-BF-AC 可用...
本书非常适合Java的初学者,如高校学生、求职人员作为练习、速查、学习使用,也适合Java程序员参考、查阅。 目 录 第1篇 Java语法与面向对象技术 第1章 开发环境的应用 2 1.1 Java环境 3 实例001 下载JDK开发...