Phalcon speed

Hello. Testing REST API on Phalcon with JMeter with setting: Number of Threads : 300 Ramp-Up Period : 1s

First of requests are running ~ 30-50 ms But each 10 requests are running + 100 ms So the lasts requests are running near 1500-1700 ms

Why first requets are running so fast and other so slow? In which direction of efficiency I have to watch ? In these API methods no queries to the database. So the problem in PHP part...

kinda hard to review without knowing what your api is doing.. does it do it with a "hello world"?



468

kinda hard to review without knowing what your api is doing.. does it do it with a "hello world"?

Test #1 on native php Write POST data to Mongo summary + 2999 in 00:00:04 = 716,6/s Avg: 261 Min: 2 Max: 1575 Err: 0 (0,00%) Active: 0 Started: 3000 Finished: 3000

Test #2 on Phalcon Write POST data to Mongo through Models (there is some errors) summary + 1218 in 00:00:10 = 120,9/s Avg: 11552 Min: 4514 Max: 16426 Err: 19 (1,56%) Active: 0 Started: 3000 Finished: 3000

Test #3 init Phalcon and echo "Hello world!" summary + 390 in 00:00:02 = 243,9/s Avg: 15941 Min: 15486 Max: 16341 Err: 0 (0,00%) Active: 0 Started: 3000 Finished: 3000

Does it good speed of Phalcon?