May 24, 2012

Post: Lighttpd as reverse proxy

apache to handle http requests (more about http://www.mysqlperformanceblog.com/2006/05/21/speedup-your-lamp-stack-with-lighttpd/ ) , redirect dynamic requests to apache

Post: Pitfall of proxying HTTP requests through Lighttpd

… however only to serve static content, such as images. The requests asking for PHP files were passed down with proxy module to Apache listening on…, it is easy to imagine the situation where the problems will appear with much smaller data being sent through Lighttpd proxy. For example…

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 … also typically allow you to relieve Apache from serving static content – Proxy may be configured to handle only dynamic requests, serving static files …

Comment: Pitfall of proxying HTTP requests through Lighttpd

Julian & Maciej, Considering your input, I will change my server setup and see how it behaves over a period of week. Dieselstation serves high res wallpapers, so probably it makes sense to serve images directly through lighttpd instead of proxying the request from apache to lighttpd.

Comment: Lighttpd as reverse proxy

… for reverse proxy and load balancing. It’s VERY fast to parse HTTP requests and it handle failover. It’s possible to do the same thing with it : send all static content requests to lighttpd and all dynamic content to apache. If you have…

Comment: Pitfall of proxying HTTP requests through Lighttpd

lighttpd is good for getting data away from the backends as quickly as possible regardless of client > speed, thus releasing them torequests. Are you sure of this? A while back I also assumed such logic and implemented nginx proxying in front of an apache… small enough to not waste too much ram. So the result would be that when apache has processed an http request and generated…

Post: Are PHP persistent connections evil ?

…comes from misconfiguration or possibly not willing to spend enough time to optimize Web part of configuration. … can place squid in front, use apache proxy module or even use lighttpd with FastCGI all can fix this …fresh connection ID so if you track web requests in MySQL Logs by connection ID it …