Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

Matts
  (email not shown publicly)

I work for MessageLabs [messagelabs.com] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Tuesday September 30, 2003
02:17 PM

mod_proxy silliness

[ #14981 ]

So while benchmarking our web server farm today I found out something really odd. In a mod_proxy (or mod_rewrite with proxy) setup with a backend suite of mod_perl servers where you specify the backends by IP (I'm using mod_rewrite for this, but it doesn't make any difference), mod_proxy does a reverse lookup on the IP for each and every request.

I have no idea why it does this. But Red Hat's own copy of mod_proxy is patched to not do that.

The work around I've found is to put all hosts in /etc/hosts, and revert to using host names. This prevents the DNS traffic at least.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.