02 Mar
by: Matt in Development, PHP
tags: concurrency, fork, parallel, pcntl, pcntl_fork, pcntl_wait, php, process, thread, unix
I find it interesting and challenging to bend PHP in ways it probably shouldn’t be bent. Almost always I walk away pleasantly surprised at it’s ability to solve a variety of problems.
Consider this example. Let’s say you want to take advantage of more than one core for a given process. Perhaps it [...]
Data is the most fundamental component of today’s web applications. Scraping and combining data from multiple sources to enhance, re-calculate, and re-display is an everyday occurance.
Scraping a list of URLs asynchronously is just about the slowest possible way to do it. Fortunately, PHP 5.2+, via its cURL multi_* functions, gives us a way [...]
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.