activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: optimal prefetch setup
Date Tue, 04 Jul 2006 22:59:54 GMT
On 7/5/06, James Strachan <james.strachan@gmail.com> 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...
>
> http://incubator.apache.org/activemq/per-destination-policies.html
> http://incubator.apache.org/activemq/how-do-i-change-dispatch-policy.html

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

http://activemq.org/site/dispatch-policies.html

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message