2009/6/10 Robert Greig <robert.j.gr...@gmail.com>: > 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..."
+1, We have mentioned on the Priority Queue page that you should set it to 1. But we need a page on TTL and I'm sure the Performance/Benchmarking page could have some suggestions on what would be reasonable. > 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? All java versions now share the value set via the -D , url or the default in ClientProperties > RG > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:dev-subscr...@qpid.apache.org > > -- Martin Ritchie --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org