activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Transacted session commit is slow
Date Tue, 04 Sep 2007 07:20:05 GMT
On 9/3/07, Dziugas Baltrunas <> 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?


View raw message