当前位置: 首页 > ActiveMQ in Action 读书笔记 > 正文

13 ActiveMQ性能调优

13 Tuning ActiveMQ for performance

13 ActiveMQ性能调优

This chapter covers
? Learn general tuning techniques
? How to optimize producers and consumers
? An example application that has been tuned

本章内容包括:
(1) 学习通用调优技术
(2) 如何优化生茶中和消费者
(3) 优化实例

The performance of ActiveMQ is highly dependent on a number of different factors,including the broker network topology, the transport, the quality of serviceand speed of the underlying network, hardware, operating system, and the Java VirtualMachine.

ActiveMQ的性能高度依赖于许多不同的因素,包括代理网络的拓扑结构,传输连接器,网络的速度和服务质量,硬件,操作系统以及Java虚拟机.

But you can apply some performance techniques to ActiveMQ to improve performanceregardless of its environment. Your application may not need guaranteeddelivery, in which case reliable, nonpersistent messaging would yield much betterperformance. It may make sense to use embedded brokers to reduce the paths ofserialization that your messages need to pass through. And, finally, a multitude oftuning parameters can be applied, each of which have benefits and caveats. 

但是不管在什么应用环境下,你都可以使用一些性能调优技术以改善ActiveMQ性能.也许你的程序不需要确保消息能够准确投送,这时使用可靠的,非持久化消息会有更好的性能.对于减少消息在传输路劲中的序列化次数来说,使用嵌入式代理是很合理的.另外,可以使用大量的调优参数,它们有各自的优点和使用注意事项.

In thischapter we’ll walk through all the standard architectural tweaks, tuning tricks, and more so that you have the best information to tune your application to meet yourgoals for performance.

本章中,我们将探讨所有标准的架构微调,调优技巧,等等以便你在面对程序调优时可以掌握更多最有用的相关信息.

Before we get to the complex tuning tweaks, we’ll walk through some general butsimple messaging techniques using nonpersistent message delivery and batching messagestogether. Either one of these can reap large performance benefits—definitelythe first thing to consider if performance is going to be critical.

在讨论复杂的架构微调之前,我们将了解一些通用且简单的消息技巧,使用非持久化消息分发以及将消息分批发送.上述两种方法都将获得客观的性能提升,但毋庸置疑的,当性能是至关重要的考虑因素时,首先应当尝试使用第一种方式(使用非持久化消息).

As we walk through the different tuning options for ActiveMQ, we’ll demonstratethem with example snippets of code, finally pulling all the tuning techniques togetherin an example data feed application.

再讨论ActiveMQ的不同调优选项时,我们将通过一些示例代码片段加以说明.,最后在一个实例中,集中使用将所有调优技术.

打个赏呗

   微信打赏  支付宝打赏


本文固定链接: https://www.jack-yin.com/coding/translation/activemq-in-action/1785.html | 边城网事

该日志由 边城网事 于2013年12月27日发表在 ActiveMQ in Action 读书笔记 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: 13 ActiveMQ性能调优 | 边城网事
【上一篇】
【下一篇】

13 ActiveMQ性能调优 暂无评论

发表评论

快捷键:Ctrl+Enter