When to use Nginx PHP Fast CGI with a TCP socket instead of a UNIX socket?
- by user64204
I've followed this guide to setup PHP in FastCGI mode with Nginx. This guide describes 2 ways of doing it: TCP socket and UNIX socket.
I've ran some Apache Benchmark on my locale machine and here are the results:
Below tests ran multiple times to get better average statistics:
$ ab -c 200 -n 100000 http://....
APACHE: 1800 req/sec
NGINX (TCP…