Is it faster to connect/use MySQL at localhost instead of a domain (even if the domain resolves to the same computer)?

If I have MySQL running on a Linux box, is it faster to run queries if connected to localhost than if I connect to a domain which resolves to the same box? This is from Java using JDBC.

14
задан Tom Marthenal 5 December 2010 в 01:31
поделиться