PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Accelerate scripts running multiple tasks in parallel using asynchronous programming: Unusual Site Speedup Techniques: Part 3

Note: This article was originally published at Planet PHP on 28 October 2010.
Planet PHP
Accelerate scripts running multiple tasks in parallel using asynchronous programming: Unusual Site Speedup Techniques: Part 3 By Manuel Lemos Asynchronous programming allows developers to write faster code by running multiple parallel tasks at the same time.

This contrasts with the traditional synchronous programming on which programs perform a task and do nothing else besides waiting for the task to finish before proceeding to the next task.

This article explains better what is asynchronous programming and how you can implement it in PHP to develop code that executes tasks much faster.