I was just grappling with this problem last week, and after trying out lighttpd, nginx, and varnish, I chose varnish.
I too run one single mod-perl server, but it's sort of complicated, with file uploads and customizable pages and stuff. I found that neither lighttpd or nginx really allowed me to handle large file uploads transparently without strange pauses and what not--both pre-cache file uploads in full before passing them back to the Apache/mod_perl server. I am sure I simply couldn't figure out how to configure those features properly, but ease of use is part of the game. Varnish, on the other hand, was no harder to set up and begin to understand, and it handled uploads well. There's some trickiness to setting up the rules in your default.vcl, but it works nicely, and there was no need to fiddle with the config just to allow uploads to go through quickly. I'm contentedly serving static files and some dynamic-but-rarely-updated html from my varnish cache now. Amiri Frank Wiles wrote: > > On Sat, 13 Dec 2008 03:02:00 +0100 (CET) > Jeff Pang <pa...@laposte.net> wrote: > >> Hello, >> >> I have a modperl application on a host which is running with heavy >> load. I have the plan to put a reverse proxy before it. >> There are two well known reverse proxy software, one is Squid, >> another is nginx. Which one is better for modperl application? or is >> there any others which are better than these two? > > I've used mod_proxy, Perlbal, and nginx. These days nginx is my > favorite, it just works and has a ton of features. Also it appears to > have the most active community development, but that's subjective as I > don't follow them all very closely. > > ------------------------------------------------------- > Frank Wiles, Revolution Systems, LLC. > Personal : fr...@wiles.org http://www.wiles.org > Work : fr...@revsys.com http://www.revsys.com > > > -- View this message in context: http://www.nabble.com/which-reverse-proxy-for-modperl--tp20986586p21058840.html Sent from the mod_perl - General mailing list archive at Nabble.com.