News Feed
Sections




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

SitePoint PHP Blog:
Wide Finder in...errr...PHP
November 01, 2007 @ 08:24:00

In a new post on the SitePoint PHP blog today, Harry Fuecks has created a "wide finder" based on a project put together by Tim Bray.

Tim set a simple, but very much real-world challenge; write an app that determines the top 10 most popular blogs from his Apache access log. It should be fast and readable, with a subtext of illustrating how "language X" copes in terms of parallel processing and utilizing "wider" (many processor) systems.

Since PHP natively doesn't support multi-threading (well), Harry opted to go with an approach using curl_multi_exec instead. There's two pieces to the puzzle - the mapper to grab the information and extract the data and the reducer that makes the calls to grab the information from the log files.

1 comment voice your opinion now!
wide finder timbray apache log popular reducer mapper wide finder timbray apache log popular reducer mapper


blog comments powered by Disqus

Similar Posts

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.4 on Mac OS X 10.4.6

NetTuts.com: Basecamp Style Subdomains With CodeIgniter

Site News: Blast from the Past - One Year Ago in PHP

Joshua Eichorn\'s Blog: PHP AJAX File Upload Progress Meter Updates

Site News: Popular Posts for the Week of 08.03.2007


Community Events

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


list configure part2 introduction example yii2 project community composer api php7 laravel opinion framework interview language podcast series application symfony

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