[rabbitmq-discuss] Why Clustering ? Load Balancing
Tim Watson
tim at rabbitmq.com
Tue Apr 30 13:02:32 BST 2013
This *does* seem quite bewildering to imagine doesn't it. I was also working on the assumption that the OP had a 'producer' application and several 'consumer' applications, all of which were connected to a RabbitMQ broker (or cluster of brokers). It sounds like the OP is running a broker on each client node, but the question now is for T.luck: why are you doing that? It's quite possible that this is the cause of the 'issues' you're seeing, but it's really hard to say without understanding what you're trying to do.
If you're deliberately using connectivity between brokers (e.g., via the shovel or federation plugins) to move data around, then that's fine and good - we can talk about performance issues with regards that kind of setup. But if you're trying to publish messages from one application and consume them from one or more others, then you should not have a broker installed along-side each client, but rather you should be running one (or more, clustered) broker centrally and the publishing/consuming applications should connect to the remote (broker) host.
Perhaps if you - the OP - could clarify what exactly you're up to, we'd be able to help a bit more.
Cheers,
Tim
On 30 Apr 2013, at 12:50, Dmitry Andrianov wrote:
>
> Looks like I do not understand your installation at all. I thought that "producer" and "consumer" are some processes which actually produce messages, send them via RabbitMQ and receive them from RabbitMQ respectively.
>
> But now it looks to me that you call different RabbitMQ instances "producer" and "consumer".
> So how exactly does it work? Is there some kind of federation or are you using Shovel?
>
>
> On 30/04/13 09:54, tluck wrote:
>> Hi,
>>
>>> How many RabbitMQ servers you running? Where is RabbitMQ on your picture?
>> There are total 4 severs on which RabbitMQ is running. One is producer and 3
>> others are consumers.
>>
>>> I would assume you are running it on "producer server" but how many
>>> instances of rabbit do you have?
>> On each server I have one instance of rarbbitmq running. Rabbitmq management
>> plugin is installed on producer server only, and other consumer servers they
>> all hit producer`s queues (all queues and messages are residing in producer
>> sever).
>>
>> Thanks,
>> T.luck
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://rabbitmq.1065348.n5.nabble.com/Why-Clustering-Load-Balancing-tp26284p26295.html
>> Sent from the RabbitMQ mailing list archive at Nabble.com.
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
> This email is for the use of the intended recipient(s) only.
> If you have received this email in error, please notify the sender immediately and then delete it.
> If you are not the intended recipient, you must not use, disclose or distribute this email without the
> author's prior permission. AlertMe.com Ltd. is not responsible for any personal views expressed
> in this message or any attachments that are those of the individual sender.
>
> AlertMe.com Ltd, 30 Station Road, Cambridge, CB1 2RE, UK.
> Registered in England, Company number 578 2908, VAT registration number GB 895 9914 42.
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list