Hi,
I tested 2 configurations: php-fpm and fastcgi. When use fastcgi my test page first response from server is approximately 0,12-0,14 sec (after few refresh). When set php-fpm and compile apache and php response time is aprox. 0,25-0,30 sec. (after few refresh)
In both config I use PHP 5.4.17, APC and same php.ini.
My test system are on OpenVZ, Debian 6. I test in different time to exclude possibly OpenVZ host overload. The result are practically the same.
Is any particular reason for this difference? It's normal? Or I should in some way optimize php-fpm config? (change daemon from ondemand to dynamic, as I expect change nothing).
I want to use php-fpm but difference in speed make me doubts...
Thank you for any suggestion.
I tested 2 configurations: php-fpm and fastcgi. When use fastcgi my test page first response from server is approximately 0,12-0,14 sec (after few refresh). When set php-fpm and compile apache and php response time is aprox. 0,25-0,30 sec. (after few refresh)
In both config I use PHP 5.4.17, APC and same php.ini.
My test system are on OpenVZ, Debian 6. I test in different time to exclude possibly OpenVZ host overload. The result are practically the same.
Is any particular reason for this difference? It's normal? Or I should in some way optimize php-fpm config? (change daemon from ondemand to dynamic, as I expect change nothing).
I want to use php-fpm but difference in speed make me doubts...
Thank you for any suggestion.