[KLUG Members] Network speed question.

Jamie McCarthy jamie at mccarthy.vg
Sat Feb 4 10:25:24 EST 2006


bruce at armintl.com (Bruce Smith) writes:

> The service happens to be running on the same box.  Will it run
> faster to specify the IP "127.0.0.1" as opposed to the IP or DNS
> name of eth0?

On Linux at least, neither actually hits the network.  So this would
have to be an unusually small service for it to make any significant
difference.  Key-value lookups on data known to be in RAM, maybe,
like memcached or a local DNS server.  Even for those, optimizing
this factor would be near the bottom of my to-do list.  :)
-- 
  Jamie McCarthy
 http://mccarthy.vg/
  jamie at mccarthy.vg



More information about the Members mailing list