Re: MySql pconnect
| From: | Daniel Beulshausen | Date: | Sun, 15 Apr 2001 18:00:11 +0000 |
| Subject: | Re: MySql pconnect | ||
| References: | 1 2 3 4 5 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6760@lists.php.net to get a copy of this message | ||
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 processes.
it works differently on multi process based systems (like apache),
there are persistent connections as well, but they can only be used by
one worker process.
that's one working process has a pool of persistent connections which
is reused only by that working process.
i've left that out because multi process based systems are rare
(generally bad design as well) and a follow there own rules.
daniel
/*--
daniel beulshausen - daniel@php4win.de
using php on windows? http://www.php4win.de