News Feed
Sections




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

Brian Moon's Blog:
Forking PHP!
July 24, 2009 @ 09:25:18

In a new post from Brian Moon looking at how they're (DealNews) using forking in PHP applications to handle some of their Gearman processing.

While at the OReilly Open Source Convention in 2009, we were asked about how we pulled this off. So, we are releasing the two scripts that handle the forking and some instructions on how we use them. [...] These are the scripts we use to manage long running processes. They work great for us on Linux. They will not run on Windows at all. We also never had any trouble running them on Mac OS X.

The two scripts (that you can grab on their developer site) show two methods for running child processes and how to pass off requests to each one to be handled in turn.

0 comments voice your opinion now!
pcntl fork process


blog comments powered by Disqus

Similar Posts

Jonathan Hill: Video: Multi-tasking in PHP (from Atlanta PHP)

Padraic Brady's Blog: The Mysteries Of Asynchronous Processing With PHP - Part 1

Content with Style: PHP worker processes with Beanstalk and Daemontools

Re-Cycled Air Blog: PHP Dark Arts: Daemonizing a Process

Felix Geisendörfer's Blog: Learning from the CakePHP source code - Part 2


Community Events





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


code framework api threedevsandamaybe zendserver laravel interview list series developer tips symfony conference language introduction podcast development release deployment community

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