activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Loadbalancing MessageProducer
Date Wed, 29 Oct 2008 11:36:45 GMT
You need to look at this: http://activemq.apache.org/fanout-transport-reference.html

cheers,

Rob

Rob Davies
http://fusesource.com
http://rajdavies.blogspot.com/


On 28 Oct 2008, at 20:03, SarcasmMonster wrote:

>
> The point was to load balance the JMS broker, that way we don't  
> hammer the
> same broker with thousands of messages a second, but rather  
> distribute the
> load between multiple brokers. Thanks for replying :)
>
>
> James.Strachan wrote:
>>
>> 2008/10/27 SarcasmMonster <paradoxical.reasoning@gmail.com>:
>>> Is it possible to have a MessageProducer that automagically rotates
>>> between
>>> destinations? This way it would be easy to load balance.
>>
>> Just out of interest - why would you want to do that? A queue is a
>> reliable load balancer anyway - why would you want to load balance
>> across multiple destinations?
>>
>>
>>> And when the broker
>>> is down, it won't rotate to that broker?
>>>
>>> I thought the failover protocol fits the bill but it doesn't  
>>> rotate until
>>> the connection is down (even though the page says "The failover  
>>> transport
>>> uses random by default which lets you to load balance clients over a
>>> number
>>> of brokers.")
>>
>> Not currently, buts its a pending issue
>> http://issues.apache.org/activemq/browse/AMQ-816
>>
>> -- 
>> James
>> -------
>> http://macstrac.blogspot.com/
>>
>> Open Source Integration
>> http://fusesource.com/
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Loadbalancing-MessageProducer-tp20189528p20214934.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Mime
View raw message