2009/6/10 Martin Ritchie <ritch...@apache.org>:

> Just wanted to generate some discussion on peoples thoughts around
> changing the Java prefetch from its current 5000 value to 1.
>
> Having a default of 1 will work for all users and prevent users from
> hurting themselves when they use priority queues or TTL and expect
> things to just work.
>
> If users know what they're messaging profile is and so know what they
> are doing then they can set the maxprefetch to a higher value.
>
> Thoughts/ Comments?

This seems reasonable. I can certainly see that it could be confusing
when you are using features that "break" once the message is
prefetched. It was originally added to make the out of the box
performance appear better (and is a legitimate setting for certain
classes of application).

Some thoughts:

1) we should document very clearly how this works. e.g. a page along
the lines of "if you are benchmarking qpid, please consider the
following..."

2) what are the default values in C++ and other languages - we should
at least aim to be consistent.

3) what does 0-10 java do?

RG

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to