[rabbitmq-discuss] previous connection is NOT automatically closed if IP different

Michael Klishin mklishin at gopivotal.com
Sun Nov 3 09:16:33 GMT 2013


On nov 2, 2013, at 5:39 PM, L H, Wong <lhwong at gmail.com> wrote:

> I am aware of the heartbeat setting. However, my application is running on mobile phone I afraid that if I set the value to lower value like 10s it will consume more battery power and also cause higher data usage.

This is an understandable concern but there are no other options.

I’d suggest using a value of 20 or so. This means a little bit of data (about a dozen of bytes)
will be sent roughly every 10 seconds. There will be no new threads created or significant
amounts of CPU consumed, so net impact on energy consumption and traffic
likely will be very small.
--
MK

Software Engineer, Pivotal/RabbitMQ


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131103/b1e34b19/attachment.pgp>


More information about the rabbitmq-discuss mailing list