>-Original Message-
>From: Joe Brown [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, April 15, 2001 8:53 PM
>But my point is that the communication overhead is still gained by process
>based systems. True they don't have the same pooling ability, as does a
>threaded process management. Over
But my point is that the communication overhead is still gained by process
based systems. True they don't have the same pooling ability, as does a
threaded process management. Overhead saved using pconnect is that which is
being debated here.
On a side note The OCI8 module in it's latest r
Sunday, April 15, 2001, 6:45:14 PM, you wrote:
> Your comment reguarding threaded sapi's although accurate, leaves
> out
> process based systems. They also benefit from pconnects, because
> the PHP
> process lives on past the life of a single web page.
such things can't be shared amongst process
Hm...ok, let's see here. Persistant connection vs. non.
Pros and cons...*ponder*
I haven't heard a whole lot about the debate, but here is what I'm thinking.
When you call pconnect when a persistant connection is already available, it
is approximately the same speed as when you call connect for
I agree with James on this one - surely it makes sense if php is running as
a server module and can keep hold of connections to utilise the performance
advantage of pconnect.
I'd be interested to know if there are any disadvantages to this, I may need
to change some code :)
Cheers
--
Phil Drisco
>
> For connect vs. pconnect, the instances where you should use pconnect are
> really rare.
>
> When in doubt, use connect. If you know of a specifically good
> reason to use
> it, then feel free.
>
> But I personally have never had a situation where pconnect worked better
> than connect.
pco
For connect vs. pconnect, the instances where you should use pconnect are
really rare.
When in doubt, use connect. If you know of a specifically good reason to use
it, then feel free.
But I personally have never had a situation where pconnect worked better
than connect.
And as for extended serv