problem about PHP-FPM in TCP socket and Unix socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 20000 -c50 http://192.168.74.130:81/) to test the
performance of Unix Socket and TCP Socket,
the result is Unix is little better than TCP

Usually we run php and web server in the same server,
So, TCP socket and Unix socket
Which method do you prefer ?

Thank you

-- 
*Yuchen Wang*

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux