nginx

Nginx, Drupal and Xsend Support

I've been looking at a project where I'm going to use "private files" to make sure that only certain people can download certain files. I'd heard that this method was slower, since the web server can't serve the file directly. Instead it has to go through php.

Login to post comments · Read more

Nginx Benchmarking

mikeytown2 and I hijacked my nginx built-in caching thread for some benchmarking discussions. Mostly Boost vs Varnish vs. Nginx caching. It needs its own thread.

My quick and dirty ab testing on my home "dedicated" server is at http://groups.drupal.org/node/26485#comment-101296 with a couple more using keepalives is at http://groups.drupal.org/node/26485#comment-101518.

7 comments · Read more
bigmack83's picture

Tuning Apache for high Performance

Lately I have been trying to get my server to be better at performance. So far it has been going well, but the beast currently as many people know is apache. The server im running drupal on is only running drupal. So my goal is to trim it down as much as possible and only have the apache modules I need to run drupal. I am alternately considering installing nginx as it is much lighter than apache. I have been reading the drupal performance articles on 2bits.com and it has helped but i have not found many articles on trimming apache this much.

24 comments · Read more

Drupal Admin / Developer | Smartphone Experts

Employment type: 
Contract
Telecommute: 
Allowed

Smartphone Experts own and operate a number of world class Smartphone blogs and communities (such as precentral.net and crackberry.com). We’ve grown steadily over the last few years and have reached the point where dedicated coverage is needed for our communities.

Read more

Has anyone tried nginx caching with Drupal?

There's been some great work on the Boost module lately with a lot of functionality added, especially the pre-caching crawler. And combined with nginx's speed advantage over apache serving static files, it's a great combination.

However, nginx does have built in caching. I've never used it, but I've seen some folks discussing how to do it on the mailing list. Has anyone used it for Drupal?

30 comments · Read more
omega8cc's picture

Aegir and Nginx Tips and Tricks

While there are many Aegir related tips and documentation available, including scripts for complete Aegir system install on LAMP stack, we often have clients using Aegir the first time on their new VPS, but with enough experience to manage and transfer Drupal sites, and they often tend to overlook some required steps, they still make simple mistakes, or feel lost in a too detailed how-to, so I think it can be useful to post also some simple check-lists to make the work easier for others and to help enjoy Aegir power and

2 comments · Read more
omega8cc's picture

Does Aegir Hosting System work with Nginx?

The shortest answer is: YES.

But, you need a few important ingredients to enjoy your Aegir Hosting System with Nginx as a webserver:

* Latest 0.8.x Nginx installed - try_files required - introduced in 0.7.27 http://nginx.net/CHANGES
* Nginx catch-all configuration with Boost integration (in case Varnish is too powerful for you)
* Simple patch for provision_apache.drush.inc - see http://omega8.cc/dev/provision.patch
* Easy to understand and use Aegir directories tree.

10 comments · Read more
omega8cc's picture

PHP FastCGI with Nginx? The answer: PHP-FPM server

Do you still use spawn-fcgi with Nginx? It's time to consider PHP-FPM.

PHP in the form in which it is available from php.net has a number of well-known issues associated with the use of the FastCGI SAPI in production. See this comparison chart of problems and how php-fpm handles them, when enabled with the FastCGI SAPI.

Features available only in PHP-FPM:

2 comments · Read more

In reply to kbahey: apache vs nginx

Well, I read your article about fcgid.

Let's talk about architecture of apache + fcgid and nginx + php-fpm.

fcgid and php-fpm look similar in the way they spawning processes.
Both use preforked processes of php and respawn about 1000 times of running script.

Apache and nginx both use fastcgi to call php from itself.

Hence, the difference is between apache and nginx.

As i know, apache run by default 4 preforked processes and pass request to one of its workers.
fork is the only stable model of apache in linux. http://httpd.apache.org/docs/2.2/mod/event.html - experimental

13 comments · Read more
Syndicate content