News Feed
Sections




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

PHPClasses.org Blog:
Distributing PHP processing with Gearman
November 23, 2009 @ 12:58:10

On the PHPClasses blog there's a new post looking at using the Gearman framework with PHP via a PECL extension.

Gearman is a generic framework to distribute processing jobs to separate processes in the same machine or other machines in a cluster. It allows your application to perform tasks in parallel, balance the processing load, and even invoke code written in other languages. The "Gearman" word is an anagram of "manager". Its purpose is solely to dispatch jobs that need to be executed, but Gearman just by itself does not do anything useful.

In his example he sets up a simple "Hello World" processing queue including the command line to start up the Gearman server and the PHP you'll need to push in a request, grab the status and see the percentage of it that's been completed.

0 comments voice your opinion now!
distributed processing gearman


blog comments powered by Disqus

Similar Posts

Lorna Mitchell: PHP and Gearman: Unable to connect after upgrade

Ralph Schindler's Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard

ServerGrove Blog: Implementing a staging/live website system with symfony and Apostrophe CMS

Gonzalo Ayuso's Blog: Database connection pooling with PHP and gearman

Padraic Brady's Blog: The Mysteries Of Asynchronous Processing With PHP - Part 2 (CLI applications)


Community Events





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


zendserver package community language deployment framework laravel introduction series api install tips opinion interview release library symfony podcast list update

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