[rabbitmq-discuss] Help!

WANG Chong (Bob) ewangchong at gmail.com
Mon Nov 22 10:21:07 GMT 2010


Hi Steven, Taylor and Emile,

thanks a lot, I think you have answered my question, I actually explained to
my boss, but he means to create as fewer queues as possble, and dispatch
messages on each node, where all the services running on. Maybe I need to
write a dispatcher or something, and have to handle the priority or load
balance issue by myself, oh my...

On Mon, Nov 22, 2010 at 5:53 PM, Emile Joubert <emile at rabbitmq.com> wrote:

>
> Hi Bob,
>
> On 22/11/10 04:42, WANG Chong (Bob) wrote:
> > Hi all,
> >
> > I am wondering is there anybody who can answer my question?
> >
> > I am using RabbitMQ for the messaging broker in my application, now the
> > scenario is a same service may be replicated to many nodes, they need to
> > receive the same message in some cases. My proposal is to create many
> > queues listening a fan-out exchange, but my boss doubt that this will
> > cost too many resources on the messaging server, so he insists not to
> > create new queues but same services listening on the same queue, is this
> > feasible? Any body who can help?
>
> The normal pattern is to have many consumers listen to a single queue in
> cases where the message needs to be picked up by a single consumer. If
> the same message needs to be delivered to many consumers then you should
> create a queue and a binding for each consumer.
>
> Creating many queues do consume more resources, but it is possible for
> commodity hardware to support tens of thousands of queues. If the queues
> exceed the resource budget of your server then clustering can help you
> to spread the load.
>
> Regards
>
> Emile
>



-- 
Yours Sincerely
WANG Chong (Bob)
Mobile: +86 (0) 1370-651-7250
MSN: ewangchong at msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101122/1f0b6d76/attachment.htm>


More information about the rabbitmq-discuss mailing list