on 11/14/2000 3:51 PM, "Shawn Honeychurch" <[EMAIL PROTECTED]> wrote:
> Are you sure about the speed difference with PHP as a module as opposed to a
> CGI process. My hosting company (communitech) swears that there is no speed
> difference because and I quote them here "as an Apache module PHP4 generates
> a huge number of children, thus the speed between PHP4 as a mudule versus a
> CGI process will be the same".
>
> Any thoughts?
>
> Shawn
The starting and stopping of processes is ALWAYS more expensive and those
people are stupid to think otherwise.
It also prevents things like database connection pooling from happening
because there is no in-memory process that can cache these things. Right
there, you will see a huge performance decrease.
The PHP4 module doesn't produce a huge number of children and running
processes are not an issue on decent OS's because the ones that are not in
use are swapped out and put to sleep.
-jon
--
twice of not very much is still a lot more than not very much
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]