[erlang-questions] Ho to keep-alive inactive RabbitMQ connections?

Tim Watson <>
Fri Dec 14 18:15:53 CET 2012


Rabbit connections can be set to use AMQP heartbeats, which provide something similar to keep-alive but also let's the broker deal explicitly with disappearing clients efficiently.

There is the issue of automatically reconnecting, which the native (erlang) client doesn't do. There are several libraries that add similar support, one of which is written by Max from the sounds of things. This can be quite involved if you're using exclusive/auto-delete objects so I'd suggest looking at some of the tools out there before rollin your own, even if it's just instructional to do so.

Do you have code shared anywhere Max? If so we could add it to the tools page on rabbitmq.com, unless it's there already? let me know.

Cheers

Tim
Staff Engineer
RabbitMQ/VMWare

On 14 Dec 2012, at 17:00, Max Bourinov <> wrote:

> Hi Den,
> 
> RabbitMQ works very well. My code also included auto-recovery functionality and some other useful stuff. Please describe your problem and I will try to provide you with detailed solution.
> 
> Best regards,
> Max
> 
> 
> 
> 
> On Fri, Dec 14, 2012 at 8:17 PM, Денис None <> wrote:
> Hi Max,
> 
> Have you overcome the "[erlang-questions] Ho to keep-alive inactive RabbitMQ connections?" issue. If so, kindly advise me on this problem.
> 
> Thank you in advance.
> 
> Best Regards,
> Denis
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121214/92a6a22b/attachment.html>


More information about the erlang-questions mailing list