Add new comment
Drupal on IIS or Apache
In this article I will try to find out if there is any performance lead in running Drupal on IIS over Apache. I will not run any benchmarks on my own (for the moment), just analyze what I could find about this surfing the web. Type "iis vs apache drupal" in Google and this is what I found.
Date: Mid 2012
This is a discussion in drupal.org groups that, after some back and forth in the testing setup, ends up pointing to a 100% more requests per second using Apache Benchmark when comparing IIS on Windows Server 2012 vs Apache on CentOS, both running on virtual boxes.
Date: Mid 2012
In this article they compare IIS vs Apache, both on Windows. Results range from a 200% to 400% page load time improvement on cold caches, and around 50% better with hot caches.
The author points out at the end of the article that the performance benefits might not compensate the elevated costs of Windows licenses. As of 2015, "cloud wars" have lead to reduce the price difference between a Linux and a Windows cloud box, and actually Windows boxes are cheaper to maintain (that's what you pay Microsoft for, right?). Some research also points out that Microsoft hosting has a rough 20% TCO (Total Cost of Operation) than Linux.
Date: Sept 2013
In this brief article they do no benchmarks, and simply point out to some operational differences between running LAMP. This is what they say:
A piece of code writen in C# like this:
Will look like this on PHP:
$minifier = netMinifier::Minifier_Constructor(); $settings = netCodeSettings::CodeSettings_Constructor(); $csssettings = \ms\Microsoft\Ajax\Utilities\netCssSettings::CssSettings_Constructor(); $settings->OutputMode(\ms\Microsoft\Ajax\Utilities\netOutputMode::SingleLine()); $settings->PreserveFunctionNames(FALSE); $settings->QuoteObjectLiteralProperties(TRUE); $result = $minifier->MinifyStyleSheet($css, $csssettings, $settings)->Val();