You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Kushal Gautam <ku...@gmail.com> on 2019/07/18 07:28:00 UTC

Load testing ActiveMQ

Hi:

I was trying to evaluate the performance of my activemq installation (first
on Linux and then on Windows), at least on following components:

1. I am trying to switch to NIO, but I am not sure if the performance would
be better than the regular openwire. I read many articles on "Scaling
ActiveMQ", and most of them have one thing in common, which is "switch to
NIO".
2. I am using activemq with Apache karaf and Apache Camel. I wanted to
perform load testing using Apache Camel. I found
https://activemq.apache.org/load-testing-with-camel.html, but I am still
not clear where exactly is "activemq/activemq-camel-loadtest" located, as
mentioned in the given URL.
3. I am thinking to switch to mKahaDB for persistence. For that, I want to
make sure that it does not make the performance worse than before.

I think (1) and (3), I can simulate with Jmeter as well. I tried just a
basic sample( right now on Linux). Probably I can configure the test suite
for these scenarios.

About (2), is there a readily available test suite to load test activemq
using camel? If I can evaluate these metrics, then I can move on to tune my
broker. Or are there some references for this?

I would appreciate any feedback on this.

Regards,
Cooshal.

Re: Load testing ActiveMQ

Posted by Tim Bain <tb...@alumni.duke.edu>.
The load testing project referenced by that page looks like it disappeared
ten years ago, so I wouldn't recommend spending time pursuing it. Since you
said you can create your own load test in JMeter, I'd suggest you do that.

That will also allow you to make a load test that accurately represents
*your* usage rather than some generic load scenario that may or may not
represent how your system will use ActiveMQ.

Tim

On Thu, Jul 18, 2019, 1:27 AM Kushal Gautam <ku...@gmail.com> wrote:

> Hi:
>
> I was trying to evaluate the performance of my activemq installation (first
> on Linux and then on Windows), at least on following components:
>
> 1. I am trying to switch to NIO, but I am not sure if the performance would
> be better than the regular openwire. I read many articles on "Scaling
> ActiveMQ", and most of them have one thing in common, which is "switch to
> NIO".
> 2. I am using activemq with Apache karaf and Apache Camel. I wanted to
> perform load testing using Apache Camel. I found
> https://activemq.apache.org/load-testing-with-camel.html, but I am still
> not clear where exactly is "activemq/activemq-camel-loadtest" located, as
> mentioned in the given URL.
> 3. I am thinking to switch to mKahaDB for persistence. For that, I want to
> make sure that it does not make the performance worse than before.
>
> I think (1) and (3), I can simulate with Jmeter as well. I tried just a
> basic sample( right now on Linux). Probably I can configure the test suite
> for these scenarios.
>
> About (2), is there a readily available test suite to load test activemq
> using camel? If I can evaluate these metrics, then I can move on to tune my
> broker. Or are there some references for this?
>
> I would appreciate any feedback on this.
>
> Regards,
> Cooshal.
>