News Feed
Sections




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

Padraic Brady's Blog:
The Mysteries Of Asynchronous Processing With PHP - Part 1
September 28, 2009 @ 10:48:30

Padraic Brady has started up a new series of posts to his blog on the topic of asynchronous processing with PHP.

Imagine a world where clients will give up on receiving responses from your application in mere seconds, where failed emails will give rise to complaints and lost business, where there exist tasks that must be performed regularly regardless of how many requests your application receives. This is not a fantasy world, it's reality. [...] Asynchronous processing is a method of performing tasks outside the loop of the current request. Basically, you offload the task to another process, leaving the process serving the request free to respond quickly and without delay.

He talks about some of the problems that asynchronous processing solves (like tasks that must be completed despite errors) and starts to outline a simple processing structure with child processes and task handling.

0 comments voice your opinion now!
asynchronous process benefit task


blog comments powered by Disqus

Similar Posts

Perplexed Labs Blog: PHP Forking to Concurrency with pcntl_fork()

Ibuildings techPortal: State & Ajax How to Maintain Browser and Application State in an Asynchrono

Padraic Brady's Blog: Mysteries Of Asynchronous Processing w/PHP - Pt 3: Spawned Child Processes

Adam Jensen's Blog: Cron tasks in Zend Framework apps

Chris Roane's Blog: PHP Programming: The Benefits of Peer Pressure


Community Events





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


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

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