framework

PHP-AMQP RabbitMQ Connection Timeouts

PHP-AMQP RabbitMQ Connection Timeouts

I was experiencing connection timeouts on my RabbitMQ daemons when the system had accumulated 90-minutes of inactivity.  Even though I had enabled the native (to RabbitMQ) keep-alive feature, node.js connection requests were still crashing the system.

This article identifies why the heart-beat feature does not work in PHP and provides a work-around solution to the issue.