Windows optimisation

Events happening in the community are now at Drupal community events on www.drupal.org.
Anonymous's picture

I'm doing some consulting work for a client where Linux is (unfortunately) not an option for any part of the stack.

The setup is:

  • Windows Server 2008 64bit
  • php 5.3.x
  • apache 2.2.x
  • mysql 5.x

Apart from getting APC to work, I'm looking for general pointers to making this not suck horribly from a performance point of view.

Comments

You should have a look at

fabsor's picture

You should have a look at wincache. It is a PHP extension that does what APC does.

Also, it's probably more favourable to use IIS instead of apache on a windows stack, since Microsoft has done some heavy peformance improvements regarding PHP and IIS.

//Fabian Sörqvist

If you're using D7 and have

Garrett Albright's picture

If you're using D7 and have the budget, I'd say to also consider taking up the entire MS stack and using SQL Server.

You should also look into the Drupal on Windows group here on g.d.o.

Zend Server

fgm's picture

You might want to take a long look at Zend Server (possibly starting with the eval or community edition), as it bundles essentially pretuned ready-to-run versions of PHP on Apache or IIS (your choice) with PHP 5.2 or 5.3, along with opcode cache, page cache, and a logging profiler, to identify the slow parts in your site.

I use Zend server on my

dalin's picture

I use Zend server on my development machine. But "pretuned" is more than a small overstatement. While it has an opcode cache bundled in, you'll have to do all the standard performance tuning that you do for any site.

--


Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his

Idea

rjbrown99's picture

How about installing Hyper-V on the server and then virtualizing a Linux host? :) I have no actual advice to add to this thread. Other than my personal opinion is that Windows+PHP apps are going to be more trouble than they are worth in most cases.

We are using windows

ducdebreme's picture

We are using

  • windows 2008
  • IIS + Wincache
  • MySQL 5.5

on a quad core machine. We are very content with it. Pages are served very fast.

We are using: Windows

carlmcdade's picture

We are using:

Windows 2008

MySQL 5.5+

IIS 7.5

IQ Proxy/Cache

I have reverse proxy caching turned off and IIS 7.5 delivers like a champ. There is no need to go to Apache or Nginx. IIS is not the same animal it was back in the days of WinNT 4. As a matter of fact I think that once you get over the bias you will find that IIS can do things you can't do without later.

ducdebreme and carlmcdade, do

Garrett Albright's picture

ducdebreme and carlmcdade, do you think you could tell us why you both opted to use MySQL instead of SQL Server? (Is it just because you're both still using D6?)

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: