[rabbitmq-discuss] AMQP heartbeat - Expected behaviors

Gavin M. Roy gmr at myyearbook.com
Tue Jul 3 21:14:11 BST 2012


On Jul 3, 2012, at 3:27 PM, Matthias Radestock wrote:

> 
>> Confounding matters, at least three client libraries I've looked at
>> (including Pika and .NET) explicitly check for heartbeat frame (i.e., 8)
>> and then do nothing with them.
> 
> I don't know enough about pika, but the .net client calls NotifyHeartbeatThread(); on each iteration of the frame reading loop. It's ok not to do anything special with heartbeat frames; what matters is that *a* frame arrives in time.

Right, in Pika we do not have any action to take, we're sending a Heartbeat frame and expecting the response. Pika runs heartbeats on an IOLoop timer and independent of the main frame processor and checks to make sure bytes/frames are moving.


More information about the rabbitmq-discuss mailing list