queue

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.