activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: Slow and fast messages
Date Tue, 12 Jul 2011 05:47:36 GMT
I recently did perf measurements using activemq. You can find the results and configs here
http://www.liquid-reality.de/pages/viewpage.action?pageId=5865562

For simple one way pure jms i got about 5500 messages/s

Christian

Von meinem iPhone gesendet

Am 12.07.2011 um 00:55 schrieb MaryAuaun <MaryAubaun@gmail.com>:

> Boy, this forum is great for making me get my thoughts together and answering
> my own questions, but if anyone knows any more, please chime in!
> 
> For writing 1000 messages
> 
> Originally 1000 messages took 40 seconds.
> 
> Persistent vs. Non-Persistent didn't make much difference in speed
> 
> These settings made a little differenceoptions:
>                connectionFactory.setUseAsyncSend(true); // tbw to test
> speed
>                connectionFactory.setAlwaysSyncSend(false);
>                connectionFactory.setSendAcksAsync(true);
>                connectionFactory.setProducerWindowSize(100);
>      (some of these settings are poorly document or not documented at all!)
>  Now 1000 messages takes 27 seconds! 
> 
> I removed the "transacted" and commits, that made it much faster
>   1000 messages take about 6 seconds, even with Persistent on.
> 
> That's nos 166 messages / sec, which is not bad.  If there are other
> improvements I can make, please let me know!
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Slow-and-fast-messages-tp3660295p3661071.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> 

Mime
View raw message