You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by EricMeena <ma...@yahoo.fr> on 2007/12/21 02:09:58 UTC
ActiveMQ v5.0.0 Performance issue
I was to a point where the AMQ performance was really impressive, but when I
added some AMQ message storage configurations, the performance becomes
questionable, I think I am combining wrong properties:
I have two JMS clients(producer & receiver), I am sending about 10,000
messages (500KB each) and receiving them on the other side.
This is what I am using:
- MS Windows XP Pro, Version 2002, SP2, Core(TM)2 CPU, T 7200 @ 2.00GHz,
1.66 GHz, 1.99 GB of RAM
- ActiveMQ v5
- My JMS clients use a spring JmsTemplate and a listenerContainer. (For
connectionFactory, I am using this:
org.apache.activemq.pool.PooledConnectionFactory)
- I am configuring the message storage within the default AMQ broker
configuration file (activemq.xml) as follows:
<persistenceAdapter>
<amqPersistenceAdapter directory="C:/ActiveMQ/ActiveMQ_Storage"
maxFileLength="1000mb"
directoryArchive="C:/ActiveMQ/ActiveMQ_Storage_Archive"
archiveDataLogs="true" syncOnWrite="true"/>
</persistenceAdapter>
Problem:
Everything was fine until I added the sycOnWrite="true", I could send and
consume up 17 messages per second. With this prop added, the sending itself
becomes a little slow, but reading gets worse. The sender finishes its job
while the consumer is not even half done. This led to a performance of 1
message per second.
I added few properties to fix this (like persistentIndex and indexBinSize),
none helped the situation.
Any idea? What is wrong here?
Thanks in advance.
--
View this message in context: http://www.nabble.com/ActiveMQ-v5.0.0-Performance-issue-tp14448577s2354p14448577.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.