DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30259>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30259

When proxy connects to backend, a DNS lookup is done every time. Investigate a 
DNS cache

           Summary: When proxy connects to backend, a DNS lookup is done
                    every time. Investigate a DNS cache
           Product: Apache httpd-2.0
           Version: 2.0-HEAD
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: mod_proxy
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When proxy_http (and I assume the other proxy modules) make a connection to the
backend, a DNS lookup is potentially performed for each request.

A simple DNS cache, flushed on server graceful restart, should improve
performance here.

To make this configurable, a timeout should be set as to the age of the entires
in the cache, 0 meaning "don't cache". A typical value might be 1 minute or so -
short enough so that admins who change the IP in DNS and then don't see the
change in their httpd installation won't be sent on a wild goose chase, but long
enough to make a significant difference to performance.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to