Published on 2006-04-11 07:21:04

This article remind me a classic discussion I had some years ago with an old friend, a Java developer, who was always trying to argue for me why Java is better and contacted me few months ago announcing that he's finally convinced to move to PHP. The discussion Java Vs PHP won't finish I'm sure, but this is not the point. Brian Fioca, who's behind the Jobby project, posted a very interesting article on O'reilly network about Digg PHP's Scalability and Performance.

Several weeks ago there was a notable bit of controversy over some comments made by James Gosling, father of the Java programming language. He has since addressed the flame war that erupted, but the whole ordeal got me thinking seriously about PHP and its scalability and performance abilities compared to Java. I knew that several hugely popular Web 2.0 applications were written in scripting languages like PHP, so I contacted Owen Byrne - Senior Software Engineer at digg.com to learn how he addressed any problems they encountered during their meteoric growth. This article addresses the all-to-common false assumptions about the cost of scalability and performance in PHP applications.


Brian interviewed Owen Byrne - Senior Software Engineer at digg.com - and got some good points concerning scalability and performance of Digg :

1- Digg gets 200 million page views per month
2- Digg is running with 3 web servers and 8 small database servers
3- Owen pointed that "none of the scaling challenges we faced had anything to do with PHP, in fact, we found that the lightweight nature of PHP allowed us to easily move processing tasks from the database to PHP in order to deal with that problem.
4- Digg uses APC PHP accelerator platform as well as MCache to lighten their database load.

Read More


Related Entries

Member of the PHP Magazine Network, Copyright (C) 2005-2008 phpmagazine.net All Rights Reserved