Looking at other people’s blogs, it is said that Unix socket is not so stable
女神的闺蜜爱上我2017-06-29 10:10:43
unix socket is suitable for both nginx and php-fpm on the same machine
TCP is suitable for nginx and php-fpm not on the same machine
TCP communication also requires three handshakes
Production environment, if high availability is considered. There will be multiple nginx used with multiple php-fpm
I haven’t paid attention to the performance
黄舟2017-06-29 10:10:43
Meaning that I have not taken care of this thing, it is all configured and used directly by nginx. It is a unix socket, right