Tunning PHP-FPM
- Tunning PHP-FPM + PHP-FPM can listen on multiple sockets. I also listen on Unix sockets, or TCP sockets. - Unix socket : sử trong trong trường hợp các process kết nối với nhau trên cùng một máy, dẫn đến tốc đô nhanh. Listening sockets live in the filesystem hierarchy and access to them can be controlled by filesystem permissions. - TCP socket Các process có thể kết nối thông qua network. sẽ có tốc độ chậm hơn so với unix socket. A connected TCP socket is identified by the combination of local IP, local port, remote IP and remote port. A listening TCP socket is identified by local port and possibly local IP. + How the process manager will control the number of child processes Tùy vào cấu hình sẽ ảnh hưởng tới RAM and CPU. - static : ...