6 messages in ru.sysoev.nginxRe: php5-cgi+Nginx: which is faster 1...
FromSent OnAttachments
Mark AlanNov 6, 2008 6:07 am 
Volodymyr KostyrkoNov 6, 2008 6:30 am 
RoxisNov 6, 2008 6:30 am 
Joe AstonNov 7, 2008 5:26 pm 
Michael SchmarckNov 7, 2008 10:08 pm 
Mark AlanNov 8, 2008 12:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: php5-cgi+Nginx: which is faster 127.0.0.1:9000 or Unix sockets?Actions...
From:Volodymyr Kostyrko (c.kw@gmail.com)
Date:Nov 6, 2008 6:30:32 am
List:ru.sysoev.nginx

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.