tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Davidson <>
Subject Re: Confused by mpm/mod_jk
Date Fri, 15 May 2009 19:26:25 GMT
Christopher Schultz wrote:
> Yes, most TCP/IP stacks use as a special-case that avoids most
> of the real stack and instead uses a kernel buffer as the data transfer
> mechanism.
> I just tried to benchmark my own system localhost versus a DNS name that
> resolves to an IP address handled on the same machine. The results of
> downloading a 32MiB file 100 times using each address were the same. So,
> either my previous statement is invalid or my Linux kernel is smart
> enough to know that the same type of "localhost" optimization can be
> performed when the destination IP is on the local machine.

Well, at least it's a security thing then.  Even if the firewall
somehow got opened up, Tomcat is still only accessible from
outside the box by going through httpd first.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message