Hello, thanks for reply. As I wrote, it does not matter whether I'm consuming persistent or non-persistent messages. ActiveMQ is running on Linux local drive with ext3 file system and in all other ways performance is good, up to several thousand messages per second.
Regards, Dziugas Baltrunas On 9/4/07, James Strachan <[EMAIL PROTECTED]> wrote: > On 9/3/07, Dziugas Baltrunas <[EMAIL PROTECTED]> wrote: > > Hi list, > > > > I've noticed that Session.commit() operation is very slow both for > > consumer and producer modes. I'm using Apache ActiveMQ 4.1.1. I tried > > both with persistent and non-persistent messages, switching tcpNoDelay > > and asyncSend/asyncDispatch flags, but overall result was more or less > > the same - only about 10 msg / sec. 99% of time takes the > > Session.commit() operation. > > > > There is similar issue AMQ-1137, however, I have same performance both > > on Windows and Linux platforms, so IMHO this has no deal with > > tcpNoDelay or any other flags. > > > > Is it expected to be like this? > > No! Note that the commit() when using persistent messaging is when the > caller has to wait for the sync-to-disk. Are your disks slow or are > you running the broker on some network drive or something? > > -- > James > ------- > http://macstrac.blogspot.com/ >
