( handler | 2006. 03. 02., cs – 19:08 )

lighttpd+fastcgi php+eaccelerator->

"Hello world" php benchmark, concurrency=250: 3280 req/sec, 603 Kbytes/sec
"Hello world" php benchmark, concurrency=100: (10000 echo "Hello world" egymas utan), 667 req/sec, 73.6 Mbytes (!) /sec

config:

server.max-fds = 16384
fastcgi.server = ( ".php" => ((
"bin-path" => "/usr/bin/php4-cgi",
"socket" => "/tmp/php.socket",
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "10000"
),
"bin-copy-environment" => (
"PATH", "SHELL", "USER"
),
)))

A "PHP_FCGI_CHILDREN" parameter valtoztatasa (256) nem befolyasolja jelentosen az eredmenyt.