Communication over 127.0.0.1 (or localhost, which should resolve to 127.0.0.1) should be more efficient than using the real IP. The MTU over loopback (127.0.0.1) is on the order of 8k in Solaris and 16k in current Linux distros, whereas the MTU over a real IP maxes at 1500. The larger MTU will prevent fragmentation of your responses into multiple packets. Using loopback should also avoid going up and then back down the network driver layers. If all your communication is local, use localhost.
cheers, -chris > > I highly doubt it. Maybe something on the order of a few > milliseconds, > but certainly nothing I would worry about. > > Its been awhile since I looked at the mod_jk source, but my > guess is it > only reads workers.properties once, at startup, and if that's > the case, > there would be no difference in performance whatsoever. > > John > > Fischer, Ilona wrote: > > > Hi John! > > If Apache and Tomcat are on the same machine, is there any > difference > > concerning performance between: > > worker.myhost.host=localhost > > worker.myhost.host=127.0.0.1 > > worker.myhost.host=10.0.0.71 > > > > Regards :o) > > Ilona > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
