Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

For years, I've been using apache2 with mod_php, but recently I migrated to nginx with php-fpm. Although it is a lot faster and more stable, I also took a look at cherokee, since both can handle php-fpm and tons'o'visitors.

Whick server is better as a WordPress host, does anyone made comparison about this?

UPDATE

Rarst asked to be a bit more specific with the question, so the objectives (in order):

  • speed
  • stability
  • security
  • predictable memory usage
share|improve this question
    
Define "better"? :) nginx is definitely more widely used with WP (all of WP.com runs on it) –  Rarst Sep 16 '11 at 11:18
add comment

1 Answer

From what I've seen on the market, Nginx and Cherokee are pretty interchangeable for what you're doing. If you've already got things set up on Nginx ... there's no reason to switch to a different system.

But if you want some benchmarks ... I did a quick Google search and came up with these:

In the end, it all depends on what you care about the most. If you're running WordPress with caching enabled, you'll be more concerned with static content. If you're running a multisite installation without caching (something I do), you'll likely be more concerned with dynamic content and stability/security.

From a general usability standpoint, though, it's safe to look at the market leaders and use them as a canary-in-a-coal-mine.

WordPress.org recommends Apache for a server because it's easy to set up and comes pre-configured on most hosts. However, Automattic elected to use Nginx to host WordPress.com. They have their own reasons ... but I elected to do the same for performance reasons (and so I can run some asynchronous servers using the same system via Node.JS).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.