Alex Rivera | Logout

Apache or lighttpd

Asked 2008-10-05T15:46:40.757
12

For development, I use a local LAMP stack, for production I'm using MediaTemple's Django Container (which I'm loving BTW). MT's container uses lighthttpd. Honestly I've never had any other experience with it. I've always used Apache. I've been doing some reading:

Here's are questions:

  • What strengths does one have over the other?
  • Would it benefit me to use lighthttpd on my dev setup?
  • What's up with using both? The Linux.com article talks about using lighttpd with Apache.
Edit
Report

1 Answer

3

The way you interface between the web server and Django might have even a greater impact on performance than the choice of web server software. For instance, mod_python is known to be heavy on RAM.

This question and its answers discuss other web server options as well.

I wouldn't be concerned on compatibility issues with client software (see MarkR's comment). I've had no such problems when serving Django using lighttpd and FastCGI. I'd like to see a diverse ecosystem of both server and client software. Having a good standard is better than a de facto product from a single vendor.

answered 2008-10-06T08:08:48.463

Your Answer