Thursday, July 1, 2010

Drupal + nginx + fastcgi = smokin' hot website!

Drupal CMS is a bit demanding, as my previous posting re. APC Cache speedup pointed out. Apache Webserver is yet another beast of a system, and uses massive system processing power and RAM to run properly, especially in scaling to many concurrent requests. Nginx is a very high-performance server, and perfectly capable of smokin' Apache when running a Drupal site. This is accomplished through use of PHP in CGI/FastCGI mode.

Linux and Mac OS X servers can enjoy the fruits of the above setup, quite easily. Linux variants have their package managers, such as apt-get, yum and soforth. Mac OS X has the awesome MacPorts to accomplish the very same... an example for the setup is given at the link below, for Mac OS X. The situation for other Linux' is pretty much the same for installation and setup!

http://www.sussdorff.de/node/52

If you wish to run both Apache for some services and nginx for performance, then make sure to have them respond to requests at two different connection ports - typically 80 and 8080.

No comments:

Post a Comment