Re: [PHP] problem about PHP-FPM in TCP socket and Unix socket

2012-03-02 Thread Daniel Fenn
Something else that should be said: You won't need to muck around with firewall settings as well (that if your running a firewall on the same box On Sat, Mar 3, 2012 at 11:22 AM, Matijn Woudt wrote: > On Fri, Mar 2, 2012 at 5:56 PM, Yuchen Wang wrote: >> Hello all, >> >> I am trying to confi

Re: [PHP] problem about PHP-FPM in TCP socket and Unix socket

2012-03-02 Thread Matijn Woudt
On Fri, Mar 2, 2012 at 5:56 PM, Yuchen Wang wrote: > Hello all, > > I am trying to config some new server > > All of my servers are using TCP Socket(127.0.0.1:9000) between nginx and > php-fpm before > > But, I run ab(ab -n 2 -c50 http://192.168.74.130:81/) to test the > performance of Unix So

Re: [PHP] problem about PHP-FPM in TCP socket and Unix socket

2012-03-02 Thread Daniel Fenn
This how I would look at it, if it on the same box use socket, and yes it is expected that socket is faster than TCP since (as far as I know) you don't need to deal with the overhead of TCP. Regards, Daniel Fenn On Sat, Mar 3, 2012 at 3:56 AM, Yuchen Wang wrote: > Hello all, > > I am tryin