@whaley, those are good things to consider. I'm beginning to suspect
serialization. The messages are probably 2k Bytes max, but it does include
a hash table (typically containing 2-3 items in the table!).
The network is local, two machines on the same switch, or sometimes sender
and receiver are
javax.jms.Connection connection = ...
connection.createSession(false, parms); // the first parameter is
"transacted?", I used false
And I commented out calls to session.commit() (session is declared as
"javax.jms.Session")
--
View this message in context:
http://activemq.2283324.n4.nabble.co
Two questions/suggestions regarding your AMQ setup:
1) What is the average size (or range of sizes) of the actual message being
sent from your producer? If you are dealing with larger messages you may wish
to consider sending Blob Messages instead of putting the entire payload inside
of the me
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 :
07:09
To: users@activemq.apache.org
Subject: Re: Slow and fast messages
Hi,
Chapter 13 "Tuning ActiveMQ for Performance" of the book "ActiveMQ in Action"
details a variety of techniques for speeding things up.
For your setup, you should try to answer the question "where
Hi MaryAuaun - Regarding your comment that you "removed the transacted and
commits", what exactly did you do? It may be helpful for others (like
myself) to get some more detail there, in case we can make the same change
and benefit from the performance improvement.
--
View this message in context:
Hi MaryAuaun - Regarding your comment that you "removed the transacted and
commits", what exactly did you do? It may be helpful for others (like
myself) to get some more detail there.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Slow-and-fast-messages-tp3660295p3662968.h
Hi,
Chapter 13 "Tuning ActiveMQ for Performance" of the book "ActiveMQ in
Action" details a variety of techniques for speeding things up.
For your setup, you should try to answer the question "where is the time
being spent?".
For an idea of potential speed, the published results of various SPECjms
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 ma
I also tried switching to non-persistent, and added the following options:
connectionFactory.setUseAsyncSend(true); // tbw to test
speed
connectionFactory.setAlwaysSyncSend(false);
connectionFactory.setSendAcksAsync(true);
connectionF
10 matches
Mail list logo