blob: cf37e2706d529de0a3a2fbf01e37adafacb5eabc [file] [log] [blame]
<div class="wiki-content maincontent"><h2>Performance</h2>
<p>Performance differs greatly depending on many different factors</p>
<ul><li>the network <link><page ri:content-title="Topologies"></page><link-body>topology</link-body></link></li><li>transport <link><page ri:content-title="URI Protocols"></page><link-body>protocols</link-body></link> used</li><li><link><page ri:content-title="QoS"></page><link-body>quality of service</link-body></link></li><li>hardware, network, JVM and operating system</li><li>number of producers, number of consumers</li><li>distribution of messages across destinations along with message size</li></ul>
<p>To give you an idea of the kinds of performance you can expect from ActiveMQ we have a bunch of <link><page ri:content-title="JMeter Performance Tests"></page></link> that you can run on your hardware with the protocols of your choice.</p>
<p>The last test run we ran was on a small network of 2 dual CPU opteron linux boxes (64 bit) running SuSe and with Java 5 from Sun.</p>
<p>When running the server on one box and a single producer and consumer thread in separate VMs on the other box, using a single topic we got around 21-22,000 messages/second using 1-2K messages. Another test running the broker on a Intel Celeron CPU 2.40GHz we got 2000 messages/second on a durable queue with 1 producer and 1 consumer thread on another box. So your milleage may vary greatly on your environment.</p>
<h3>Performance Testing</h3>
<p>We have a few tools to help you evaluate performance.</p>
<ul><li><link><page ri:content-title="ActiveMQ Performance Module Users Manual"></page></link></li><li><link><page ri:content-title="Load Testing with Camel"></page></link></li><li><link><page ri:content-title="JMeter Performance Tests"></page></link></li></ul>
<structured-macro ac:macro-id="8c845d04-94d0-453d-9a26-58ad707c2ed5" ac:name="include" ac:schema-version="1"><parameter ac:name=""><link><page ri:content-title="Performance report"></page></link></parameter></structured-macro></div>