On 4/8/07, Nilesh Bansal <nileshbansal@xxxxxxxxx> wrote:
We have a Apache httpd running with mod_proxy in front of a Tomcat server. We have noticed that httpd is slower than expected. After enabling logging of time-to-serve in both Tomcat and httpd, it turns out that while Tomcat can serve each request in less than a second, httpd in many cases takes 3-5 seconds (i.e., adding a delay of 3-4 seconds).
3-4 seconds? Looks like there's something terribly wrong with your config, like resolve hostnames turned on in Apache config. mod_proxy shouldn't add more than 200-300 microseconds for such small requests on modern hardware. -- Alexey Polyakov --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx