[rabbitmq-discuss] clustering question
Ian Ragsdale
ian.ragsdale at gmail.com
Thu Apr 1 01:00:08 BST 2010
Hi Alexis, that's very useful information - using redis to dedupe messages between redundant servers is interesting.
Regarding queues being unavailable when their nodes are down, what kind of behavior should I expect at the producer? If I publish a message to an exchange that is bound to a queue that is unavailable, should I receive an error, would the message be in limbo until the node came back up, or would it just not get pushed into the queue?
Thanks,
Ian
On Mar 31, 2010, at 6:44 PM, Alexis Richardson wrote:
> Ian
>
> Some background on this is here: http://www.rabbitmq.com/faq.html#performance
>
> The unavailability of a node prevents any queues on that node from
> receiving messages - instead they must find another path through the
> broker. By the same token, client cannot consume from a queue whose
> node is down. Queues cannot yet have an existence 'across' nodes. It
> is however possible to set up 'back up' queues using normal AMQP. I
> recommend @ezmobius presentation on Redis, found on slideshare, as
> well as some of our video presentations on high availability - which
> you can find via this link repo:
> http://delicious.com/alexisrichardson/rabbitmq+video+presentation
>
> Does this help? Let us know.
>
> Cheers
>
> alexis
>
>
> On Wed, Mar 31, 2010 at 2:29 PM, Ian Ragsdale <ian.ragsdale at gmail.com> wrote:
>> Hello all. I just set up a rabbitmq cluster using the clustering setup guide on the website, and I can report that the guide was easy to follow and worked well. However, I did have a question about a couple of statements made in the guide that I would like to clarify.
>>
>> The guide says:
>>
>> "RabbitMQ brokers tolerate the failure of individual nodes. Nodes can be started and stopped at will."
>>
>> As well as:
>>
>> "All data/state required for the operation of a RabbitMQ broker is replicated across all nodes, for reliability and scaling, with full ACID properties. An exception to this are message queues, which currently only reside on the node that created them, though they are visible and reachable from all nodes."
>>
>> So, from this I can assume that if one of my nodes go down the cluster will continue to operate, but how will that affect any queues that resided on the inoperative node? If I publish a message that was meant for one of those queues will it fail? Will clients that are subscribed to those queues continue to receive new messages? I'd just like to understand what the behavior will be so that I can plan accordingly.
>>
>> Thanks,
>> Ian
>>
>>
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
More information about the rabbitmq-discuss
mailing list