activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janylj <jan...@gmail.com>
Subject Does AMQ Message Store downgrade the performance?
Date Tue, 13 May 2008 17:12:22 GMT

Hello,

I am using the AMQ Message Store for the persistence. The configuration is:

<persistenceAdapter>
  <amqPersistenceAdapter syncOnWrite="false"
directory="${activemq.base}/data" maxFileLength="20 mb"/>
</persistenceAdapter>

It seems to me that the AMQ message store affects the performance a lot. I
am using Maven2 performance test
(http://activemq.apache.org/activemq-performance-module-users-manual.html).
For the case of 1 producer and 1 durable subscriber, I got avg of 702
messages/second for the producer and only 58 messages/s for the durable
subscriber. However, after I deleted the ${activemq.base}/data folder and
ran the very same test. I got 1451 messages/s for the producer and 1450
messages/s for the durable subscriber. Note before my first test case, I ran
some other tests which publishes many messages to topics and queues on the
broker.

I am using activemq 5.1.0 stable release. Anyone has inputs on why AMQ
message store's data folder matters performance? It performs best when
having a fresh data center. Thank you very much.
-- 
View this message in context: http://www.nabble.com/Does-AMQ-Message-Store-downgrade-the-performance--tp17213691s2354p17213691.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message