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/

Reply via email to