PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Mfana Ronald Conco's Blog: RabbitMQ and PHP Part 1

Note: This article was originally published at PHPDeveloper on 20 March 2012.
PHPDeveloper

In this recent blog post Mfana Ronald Conco looks at combining the RabbitMQ messaging service with PHP, complete with all of the setup instructions (and configuration) you'll need.

There are times when you have to make certain features of your PHP application to work asynchronously, and there are times when you do not have to - I will explain this better by introducing every day scenarios.

His two scenarios have a common thread - the need for asynchronous processing, especially for something that can scale as the user base grows. With the help of RabbitMQ he shows you how to install the MW server, get the php-ampq extension for PHP installed and two sample scripts - one to send a message to the broker, the other to receive and parse the result of a job.