PHP runs up to 130% faster on Windows Server 2008
Some might say this is a pretty outlandish statement to make, but we recently did some work with a local customer by the name of Virtual Maps that developed and maintains local Singaporean travel portal StreetDirectory.com, to test their popular web applications in Windows Server 2008.
The built-in support of FastCGI enables PHP applications to run efficiently on Windows Server 2008, with significant performance boosts. As can be seen in the graph from the case study;
This graph shows the tremendous performance increase realised by Virtual Maps by hosting their PHP applications on Windows Server 2008.
Some observant people might say that at the 4000 user point the performance of Linux is better, and I asked my colleague Dennis on this, and he said that in most companies situations they will evaluate the performance and look at the range at where 75% of the maximum number of hits are attained, and scale out from there.
If we took this same approach to the numbers here, then most users would be scaling out to another machine at about 45,000 sustained hits, whereas on the Linux box it would be around 30,000 sustained hits.
The great thing about this was that these results were realised on Windows Server 2008 Core Server completely out of the box with no performance tweaks at all.
So what does all this mean for Virtual Maps, what are the benefits apart from making their application able to sustain more hits per server?
Well if Virtual Maps are able to sustain a greater number of hits per server, it essentially means that they need less servers to meet the customer demands. Less servers means they have an opportunity for server consolidation which means they can reduce the number of servers they need to support and maintain.
While we have not go this published on an official page as of yet, I will host this on my Windows Live Sky Drive, so you can download the report here. If anyone has any issues accessing it, please ping me and I can get something fixed up.
Comments
Anonymous
March 31, 2008
PingBack from http://www.ditii.com/2008/04/01/windows-server-2008-php-runs-up-to-130-faster/Anonymous
March 31, 2008
The comment has been removedAnonymous
March 31, 2008
One of the new features of Windows server 2008 is that it will now support php applications on IIS 7.0Anonymous
March 31, 2008
今天是4月1日哦,但是现在已经过了中午了,所以这不是玩笑! 我们知道Windows Server 2008 IIS内置的FastCGI机制可以让PHP的解析速度大幅提高,但详细数据是多少呢?MSDN上的告诉我们,一倍还多,130%!该数据来自新加坡网站Anonymous
March 31, 2008
Hi Kelly, I think Netcraft will be able to give you the most up to date information on what is currently being run by Virtual Maps. Thanks Matty HAnonymous
April 01, 2008
I'd actually be more interested in the details of the Linux set up as benchmarked, rather than whatever Virtual Maps happens to be running. In other words, the graph shows Windows Server 2008 (default configuration) vs Linux (fill in the blank here).Anonymous
April 01, 2008
The comment has been removedAnonymous
April 11, 2008
I have further queries about the setups of the systems (<a href="http://www.dallasjclark.com/blog/?p=292#comment-1345">http://www.dallasjclark.com/blog/?p=292#comment-1345</a>). "was it CGI or FastCGI? there’s a big difference there. Also, what configuration was the lix server in? there is no “default” config really… so it depends heavily what php was running on (was it apache in which case how does apache on windws perform?, or lighttpd?) was the linux server running prethreaded, or preforked? or thread pool? was it running cgi, or fastcgi or as a module? a lot of unknowns!" - David Novakovic