[nflug] PHP - MySQL connect via socket
Mark Musone
mmusone at shatterit.com
Thu Sep 6 12:07:41 EDT 2007
Do you mean connect via "Unix Socket" instead of "TCP Socket" ?
If so, yes, there's a bit of a performance increase, less latency with
initiating a connection, and significantly more security.
That being said, I generally only use TCP sockets purely because of ease of
use, and portability..
Mark
-----Original Message-----
From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On Behalf Of
Franklin Kumro Jr
Sent: Thursday, September 06, 2007 11:00 AM
To: nflug at nflug.org
Subject: [nflug] PHP - MySQL connect via socket
Guys,
I was wondering if I have a machine which is running the lamp stack on
it, will it provide any performance boost to connect to mysql via
socket (compared to feeding the function the full address)?
--
Frank
Shenanigans!!
I do the voodoo that I do do with sudo!
http://www.drunkenfrog.com
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list