activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: optimal prefetch setup
Date Tue, 04 Jul 2006 22:59:54 GMT
On 7/5/06, James Strachan <> wrote:
> The prefetch property is related to consumers; it shouldn't really
> matter if a consumer is on the same connection or not. Though 1
> session only dispatches messages for any consumers in one single
> thread, so consumers have to be using different sessions to have any
> concurrency.
> How many messages are on the queue? Its quite common for consumers to
> eagerly pull their entire prefetch window in aggressively (which under
> low message volumes can lead to unfair distribution).
> To go for fairer load balancing rather than high performance you can
> use the round robin delivery policy...

I've added a better page describing dispatch policies with examples here...



View raw message