News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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.

0 comments voice your opinion now!
wide finder timbray apache log popular reducer mapper wide finder timbray apache log popular reducer mapper



Similar Posts

True Hacker! Blog: Digg style clean URLs with PHP and Apache

Tobias Schlitt's Blog: Tim Bray compared Java, Ruby and PHP

Site News: Popular Posts for the Week of 06.29.2007

The bla.st Blog: Process your URLs in PHP with Apache mod_rewrite and wildcard DNS

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


Community Events







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


package mysql security cakephp releases example job conference developer PEAR ajax database code release framework book zendframework PHP5 zend application

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