13

Low requests per second using Nginx + PHP-FPM + APC + MySQL

view full story
linux-howto

http://serverfault.com – I've discovered a bit of an issue when benchmarking my server setup today. My ultimate goal is speed and reliability, which is why I chose nginx coupled with PHP-FPM, APC, and a MySQL backend for the project. Unfortunately, things are not going as planned, when got the following results. Using: ab -n 1000 -c 100 PHP page (static, only dynamic because it must check the PHP session to see if the user is logged in) Concurrency Level: 100 Time taken for tests: 9.548000 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 335700 (HowTos)