Speed of MySQL connections - Socket vs. Non-Socket
| From: | Alexander Skwar | Date: | Mon, 16 Apr 2001 22:55:58 +0000 |
| Subject: | Speed of MySQL connections - Socket vs. Non-Socket | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48827@lists.php.net to get a copy of this message | ||
Hello!
In a mysql_connect() it is possible to specify a path to the socket which
should be used for communicating with MySQL.
Now, when I connect thru a socket, is the datatransfer between PHP and MySQL
faster than when I connect via a (loop-)network? I would assume so, because
with a socket, there's not the network layer in the way which has to be
taken care of.
Is this correct?
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 0 hours 45 minutes