Comments on Reduce Apache's Load With lighttpd On Debian Etch

Reduce Apache's Load With lighttpd On Debian Etch Lighttpd, sometimes pronounced "Lighty", is a lightweight HTTP server that can help alleviate Apache's load by serving static content. Since Lighttpd uses less resources per request than Apache, it generally serves most static content faster than Apache. This tutorial shows how to install Lighttpd behind Apache via Apache´s proxy module.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

The increase of performance you've gained so far with Lighttpd is not phenomenal, but helps to increase the website performance and reduces the load on your server.

I don't understand why a proxy/proxyreverse for a given request would put any less load on apache than just serving the static content directly.

To my (admittedly uneducated) mind, it seems that this proxy solution would be at least as much work for apache, if not more.

By: Anonymous

I agree, having Lighttpd reverse proxy requests for dynamic content to Apache makes more sense.

 With Lighttpd in front the more memory hungry Apache would not be wasted serving static content.

By:

i would do this in the following way:

- change the apache port to 81

- install lighttpd and bind it to port 82

- install <a href="http://www.apsis.ch/pound/index_html">pound</a> and bind it to port 80

pound can act very efficiently as a reverse proxy and pass on the requests to apache and lighttpd.