(Tips) Drupal + Nginx + Fastcgi - setup and configuration
Tips : Drupal + Nginx + Fastcgi - setup and configuration
A Drupal site with several extra modules installed can leave quite a large memory footprint, especially when served through the beast that is Apache. Don't get me wrong, I think Apache is a great webserver and have used it for years without any real problems, but sometimes you need to squeeze a little more performance than Apache is willing to give.
I recently moved a lot of my Drupal sites over to a 500MB Slicehost (which I would highly recommend). With only 500MB or RAM to play with, there is not much room for wastage and I found that Apache was just too much of a memory hog to be viable. So I turned to Nginx.
Nginx?
Nginx (pronounced "engine X" much to my surprise!) is a relatively new and little known about web server, written by a Russian by the name of Igor Sysoev. It's lightweight, fast, flexible, straight-forward to configure and is rapidly gaining popularity in the web world. Here are some facts about it (taken from nginx.net):
- nginx has been running for more than three years on many heavily loaded Russian sites including Rambler (RamblerMedia.com).
- In March 2007 about 20% of all Russian virtual hosts were served or proxied by nginx.
- According to Google Online Security Blog year ago nginx served or proxied about 4% of all Internet virtual hosts, although Netcraft showed a much lower percentage.
- 2 of Alexa's US Top100 sites use nginx.
Courtesy : Codegobbler.com
- guru's blog
- Login to post comments
![Drupal-6-Book-[Building Powerful and Robust Websites with Drupal 6].jpg](http://www.drupalranch.com/images/Drupal-6-Book-[Building%20Powerful%20and%20Robust%20Websites%20with%20Drupal%206].jpg)