May 24, 2012

Post: Speedup your LAMP stack with LigHTTPD

… applications. Use Reverse proxy in front. You may configure other Apache server to use as reverse proxy, you may also use Squid, Lighttpd, Nginx etc…, setting them to be directly services by reverse proxy servers could be enough. The note about LigHTTPD – I like this one in particular…

Post: Lighttpd as reverse proxy

… lines in lighttpd.conf server.modules = ( … “mod_auth”, “mod_status”, “mod_proxy“, … ) mod_status is useful to show additional information from lighttpd mod_auth to protect mod_status from unauthorized access :) and mod_proxy is proxy by itself to enable status uncomment or add status.status-url = “/server-status” to lighttpd.conf to protect…

Comment: Pitfall of proxying HTTP requests through Lighttpd

The store-and-forward nature of lighttpd is good for getting data away from the backends as … me before, when I was proxying large files off a backend squid server. I know two reverse proxies that have hybrid S&F…

Comment: Lighttpd as reverse proxy

We use Apache with threaded MPM as reverse proxy (and for static files) and Apache prefork MPM for serving … Apache has decent memory consumption and almost same performance as lighttpd with sendfile network module.

Comment: Lighttpd as reverse proxy

… the impression of a single domain surely using Squid in reverse proxy mode is the simplest? Get one httpd to serve both… a dedicated domain for static content, which is served by lighttpd. Apache then hosts the dynamic. sent from: fav.or.it…

Comment: Lighttpd as reverse proxy

Here, we use “HAproxy” in front for reverse proxy and load balancing. It’s VERY fast to parse HTTP … same thing with it : send all static content requests to lighttpd and all dynamic content to apache. If you have a…

Comment: Lighttpd as reverse proxy

This is interesting – we actually do the opposite :) – apache as reverse proxy + mod_security + static file handling in front of the lighttpd/fcgi.

Comment: Pitfall of proxying HTTP requests through Lighttpd

I had the problem with Nginx too, when i downloaded a big file (750M), and using Nginx as a reversed proxy before lighttpd.

Comment: Pitfall of proxying HTTP requests through Lighttpd

Do you think this problem would exists if the setup was reversed? Meaning, let Apache be your prime server and do the proxy forward for the static content to the lighttpd! In that case, lighttpd will not consume as much memory and will do its job efficiently.