[nflug] PHP - MySQL connect via socket

Franklin Kumro Jr fkumro at gmail.com
Thu Sep 6 13:50:07 EDT 2007


I always forget the one word that means the difference when I post
here lol. Yes i meant UNIX socket and thank you :)

On 9/6/07, Mark Musone <mmusone at shatterit.com> wrote:
> 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
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>


-- 
Frank
Shenanigans!!
I do the voodoo that I do do with sudo!
http://www.drunkenfrog.com


More information about the nflug mailing list