10.3 为高并发程序部署ActiveMQ

 博客已搬家, 更好阅读体验, 戳 http://www.jack-yin.com/english/translation/activemq-in-action/1671.html

10.3 Deploying ActiveMQ for large numbers of concurrent applications

10.3 为高并发程序部署ActiveMQ

 

Scaling your applications that make use of ActiveMQ can take some time and require

some diligence. In this section, we examine three techniques to help you with this

task. We’ll start with vertical scaling, where a single broker is used for thousands of

connections and queues. Then we’ll look at scaling to tens of thousands of connections

by horizontally scaling your applications using networks. Finally we’ll examine

traffic partitioning, which will balance scaling and performance, but will add more

complexity to your ActiveMQ application.

 

使用ActiveMQ来扩展你的应用程序需要一些时间并要花一些精力.本节中我们将介绍三种技术用于

扩展应用程序.我们将从垂直扩展开始,这种扩展方式中,单个代理需要处理成千上万的连接和消息队列.

接下来我们将介绍水平扩展,这种扩展方式需要处理比前一种方式更多的网络连接.最后,我们介绍的

传输负载分流,可以在扩展和性能间得到平衡,但是会增加ActiveMQ程序的复杂性.

 

10.3.1 Vertical scaling

10.3.1 垂直扩展

 

....................

你可能感兴趣的:(高并发,activemq)