seriousdev
seriousdev

Reputation: 7656

Apache, lighttpd, nginx, cherokee, what's the best combination?

I have a blog, dynamic (php) and static content (images, css, js). I googled a lot to find benchmarks on each server and figured out that there's actually no best server. Therefore I'm looking for returns on experience to choose the good combination.

Update in response to wheaties: well, my needs are I think, the same as everyone; I need all my pages to load quickly--including static content--an I need the highest HTTP queries/second rate possible. Also, if it can help, I'm using MongoDB. Btw, do I still need to cache my DB queries with this?

Upvotes: 0

Views: 1810

Answers (3)

Oleksandr Skrypnyk
Oleksandr Skrypnyk

Reputation: 2830

Lighttpd for static content and some caching scripts for dynamic (PHP).

Upvotes: 0

Déjà vu
Déjà vu

Reputation: 28850

Regarding Apache and Nginx:

I used Apache for almost 10 years. Then I discovered Nginx.
Quickly I found Nginx appealing

  • simple and powerful C code
  • configuration syntax is intuitive and elegant
  • Nginx was built with performance and efficiency in mind. It is incredibly efficient, even with thousands of connections.
  • php-fpm works well with Nginx

So, I would recommend, between the two (Apache and Nginx), Nginx.

Upvotes: 1

Manish
Manish

Reputation: 2105

Lighttpd is well known for serving static content. Nginx is a good option for dynamic (php) pages. I've heard of few sites which use lighttpd only for serving static content.

Upvotes: 0

Related Questions