News Feed
Sections




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

Gonzalo Ayuso:
Enqueue Symfony's process components with PHP and ZeroMQ
April 09, 2013 @ 11:11:59

Gonzalo Ayuso has a new post today showing how he set up queuing with ZeroMQ and Symfony components and React.

Today I'd like to play with ZeroMQ. ZeroMQ is a great tool to work with sockets. I will show you the problem that I want to solve: One web application needs to execute background processes but I need to execute those processes in order. Two users cannot execute one process at the same time. OK, if we face to this problem we can use Gearman. I've written various posts about Gearman (here and here for example). But today I want to play with ZeroMQ.

He uses React and some ZeroMQ bindings and Symfony's Process component to make a simple client and server for working with the queue and processes. A screencast is included in the post showing them making the connection and adding the new process. The full code can be found on github (or installable via Composer)

0 comments voice your opinion now!
zeromq symfony component process react server client tutorial

Link: http://gonzalo123.com/2013/04/08/building-a-zeromq-enqueue-with-php

blog comments powered by Disqus

Similar Posts

Wojciech Sznapka's Blog: Power of PHP streams decompress gz archives on the fly from remote server

Zend Developer Zone: Using GnuPG with PHP

Spindrop.us Blog: Easy Yahoo! Maps and GeoRSS with symfony

SpinDrop.us: Using Zend Search Lucene in a symfony app

ServerGrove Blog: The importance of APC cache for symfony applications


Community Events





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


threedevsandamaybe list release introduction composer configure version unittest opinion series language framework interview voicesoftheelephpant api community podcast laravel symfony conference

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