News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Message Brokering with RabbitMQ
August 21, 2012 @ 11:04:07

On PHPMaster.com today they've posted a new tutorial that helps you get started adding queuing to your application with PHP and RabbitMQ.

RabbitMQ is open-source message brokering software written in Erlang. The MQ in its name refers to a standard known as Advanced Message Queuing Protocol. For our purposes, and most others, it acts as a middleman between producer (sending) and consumer (receiving) programs - it simply accepts and forwards messages. [...] Both producers and consumers can be written in any language that has an available RabbitMQ or AMQP client library. In this article, I'll demo a producer program written in PHP and a consuming program in Python.

He walks you through the installation for both RabbitMQ itself and the PHP (php-amqlib) and Python (pika) tools to use for the interfaces. There's some details on how the queuing system works and the code for the sample clients is included as well as commands to use the two clients to send/receive messages.

0 comments voice your opinion now!
rabbitmq message queue tutorial python client


blog comments powered by Disqus

Similar Posts

Devshed: PHP Email

VG Tech: Using PHP's Built-in Web Server in Your Test Suites

PHP-Coding-Practices.com: How I Turned A Slow Array Sort Into A Quick One Using Quicksort Algorithm

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Fedora 7

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 1)


Community Events





Don't see your event here?
Let us know!


testing library interview podcast developer code threedevsandamaybe wordpress introduction community configure language release framework laravel unittest install list opinion series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework