Martin Ritchie wrote:
Hi,
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?
I'm generally in favor of changing the default to something safer than
5000, assuming that it is prominently documented how to adjust it for
performance.
One thought though -- shouldn't the default for consumers with no
listeners actually be zero so that you don't have a messaging sitting
around waiting for a receive() call that may never come?
--Rafael
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org