rabbitmq

Writing a Persistent PHP Daemon for RabbitMQ Event Consumption

Writing a Persistent PHP Daemon for RabbitMQ Event Consumption

A demonstration on how to write a persistent PHP consumer for RabbitMQ RPC queues.  This tutorial assumes you already are familiar with connecting to RabbitMQ.  The demonstration focuses on making the PHP consumer persistent through mitigation of PHP's inherent memory leaks through a managed parent-child fork() model allowing your consumer applications to run indefinitely.

RabbitMQ Upgrade Fails on Ubuntu and Derivatives

RabbitMQ Upgrade Fails on Ubuntu and Derivatives

RabbitMQ suddenly fails to update using apt-get update/upgrade command on Ubuntu and it's derivatives.  RabbitMQ updated their PGP key and this short article explains how to obtain and install the updated key so that you can install the latest greatness.

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.

Solving the PHP/SSL Connection to RabbitMQ Handshake Failure

Solving the PHP/SSL Connection to RabbitMQ Handshake Failure

Dealing with an SSL handshake problem using PHP to connect to RabbitMQ, I kept receiving handshake failure fatal errors.  Even though the solution has been documented, I felt it could use a clarification bump so here's how I implemented the solution.