PHP's page generation time takes 0.01s. 1/0.01 = 100; however i'm having problems reaching that number of request per seconds. Why?

Posted by cedivad on Server Fault See other posts from Server Fault or by cedivad
Published on 2012-09-26T19:32:17Z Indexed on 2012/09/26 21:39 UTC
Read the original article Hit count: 158

Filed under:
|

On average, my PHP page generation time is 10ms. So i should be able to execute 100 requests one after the other one (using a single core on the server, since that php is not multithreaded).

However, i'm having problems reaching 50 pages per seconds. As of now i do 25 on avg., with a medium load.

The application is really light, it consist in a read (<5KB) from a pool of SSDs, some read queries solved by indexes.

Where should i look to solve this bottleneck?

© Server Fault or respective owner

Related posts about php

Related posts about nginx