mysql - PHP and mod_dbd -
Does the PHP extension know how to use mod_dbd for a database connection?
Our application used to be an Apache module using a remote database mod_dbd for this database connection and the transaction takes approximately 200ms. Now we have changed the application to PHP and it takes longer than 600 transactions in the same transaction. We hope that performance of certain types of pooling will improve.
We have switched to using mysql_pconnect ()
but it almost does not work as nearly mod_dbd.
I know that you've probably left an answer but ...
< P> I think you think that loading more time and php scripts are compiling. If your previous app was an Apache module, then it is already compiled and always loads, possibly written in C, compared to PHP.An Accelerator such as Accelerator that uses shared memory and precompressed scripts, sometimes dramatically improves the performance of the PHP application.
DC
Comments
Post a Comment