Web Analytics

PHP runs up to 130% faster on Windows Server 2008

News Add comments

Welcome to www.mintywhite.com! If you're new here, you should subscribe to the RSS feed.

Take a tour of www.Mintywhite.com | Follow me on Twitter @mintywhite

Thanks for visiting!

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;

PHP runs up to 130% faster on Windows Server 2008

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.

Source

What Next?

Why Should You Subscribe to this Site?   Why Subscribe to this Site?    Download a copy of Windows Vista - the Pocket Guide   Get FREE Vista Books (No catches)    Download a copy of Windows Vista - the Pocket Guide and Windows Vista - Customization Manual

Bookmark, Share, Subscribe, and Print


| Get Windows Guides Updates via RSS  RSS Feed (?) | Get Windows Guides Updates via Email  Email Updates | Print This Article Print This Article

4 Responses to “PHP runs up to 130% faster on Windows Server 2008”

  1. Dallas Clark Says:

    I have further queries about the setups of the systems (http://www.dallasjclark.com/blog/?p=292#comment-1345).

    “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

  2. Rich Says:

    As outlined in the report, Windows Server 2008 is using FastCGI for their system.
    The previous Linux System was running Apache. A report on how Apache works on Windows is not given.
    The Linux server was running CGI. I hope that answers a few of your questions :)

Trackbacks

  1. PHP Coding School » Blog Archive » php news [2008-04-01 16:33:48]
  2. PHP runs up to 130% faster on Windows Server 2008 | Dallas Clark

Leave a Comment / Question (Trackback URL) (Head Over to the Forums)