You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Ramit Arora <ra...@gmail.com> on 2008/03/20 00:04:03 UTC

ActiveMQ Persistent Messages Throughput Issues

Hi All,
I've been testing the performance of ActiveMQ using Perl publishers
(Net::Stomp) & Java subscribers. My producers send persistent messages & the
subscribers are durable. My test results indicate that the throughput does
not increase with the increase in number of publishers. For example:

case 1: 1 publisher, 25 subscribers
case 2: 25 publishers, 25 subscribers

In both cases the net throughput observed for the consumers remains the same
(around 4000 msgs/sec). Is this expected? Shouldn't the throughput increase
as we increase the number of producers? My broker does not show CPu
utilization more than 25% in both cases. I am using default settings & the
default persistence adapter.


-- 
View this message in context: http://www.nabble.com/ActiveMQ-Persistent-Messages-Throughput-Issues-tp16158991s2354p16158991.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQ Persistent Messages Throughput Issues

Posted by Rob Davies <ra...@gmail.com>.
On 19 Mar 2008, at 23:04, Ramit Arora wrote:

>
> Hi All,
> I've been testing the performance of ActiveMQ using Perl publishers
> (Net::Stomp) & Java subscribers. My producers send persistent  
> messages & the
> subscribers are durable. My test results indicate that the  
> throughput does
> not increase with the increase in number of publishers. For example:
>
> case 1: 1 publisher, 25 subscribers
> case 2: 25 publishers, 25 subscribers
>
> In both cases the net throughput observed for the consumers remains  
> the same
> (around 4000 msgs/sec). Is this expected? Shouldn't the throughput  
> increase
> as we increase the number of producers? My broker does not show CPu
> utilization more than 25% in both cases. I am using default settings  
> & the
> default persistence adapter.
>
>
> -- 
> View this message in context: http://www.nabble.com/ActiveMQ-Persistent-Messages-Throughput-Issues-tp16158991s2354p16158991.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
You're probably hitting contention on the disk - which is always the  
limitation with persistence

cheers,

Rob

http://open.iona.com/ -Enterprise Open Integration
http://rajdavies.blogspot.com/