php5-cgi+Nginx: which is faster 127.0.0.1:9000 or Unix sockets?

Volodymyr Kostyrko c.kworr at gmail.com
Thu Nov 6 17:30:55 MSK 2008


Mark Alan wrote:

> echo -e '<?php\n;\n?>' | sudo -u www-data tee 
> /var/www/nginx-default/benchtest.php

You are testing here only one aspect - connection rate. Try something 
like phpinfo() or just some huge html file with php extension - this way 
php would do nothing apart feeding the data to nginx through socket. It 
would be good to see tests for 50k docs and for something like 500k.

-- 
Sphinx of black quartz judge my vow.






More information about the nginx mailing list