Page 1 of 1

About php performmance when the concurrent connecttion over

Posted: Tue Jul 05, 2011 9:56 am
by coolesting
Hi, everybody,

as we know, the php loads every module when it receive a http requirement from client,
so, the php performance gets a problem when the website will overs thousand of concurrent connect number.

About this problem , even through we using the file and memory cache, long-connect of database, static page, etc,
but the dynamic portion of web application still will loads more time the same module in every bootstrap of php.

If you check the web server log, and will find those modules will be loaded every time,
curl.so
gd.so
mysql.so
mysqli.so
pad_mysql.so
....
..

What do you think about this question ?

Re: About php performmance when the concurrent connecttion o

Posted: Tue Jul 05, 2011 10:15 am
by AbraCadaver
If you don't need those extensions then comment them out in php.ini. If you only need one of them on a certain page then maybe comment it out and use dl() on that specific page. But I don't think that would be the bulk of your response time.

Re: About php performmance when the concurrent connecttion o

Posted: Wed Jul 06, 2011 12:05 pm
by coolesting
AbraCadaver wrote:If you don't need those extensions then comment them out in php.ini. If you only need one of them on a certain page then maybe comment it out and use dl() on that specific page. But I don't think that would be the bulk of your response time.
Hi,
BTY, such as the drupal CMS that includes the big file frequently and all of modules of php,
what do think how to optimizer it , but we not alway comment the extension modules in development period.