Re: persistent java virtual machine under PHP

From: Date: Thu, 05 Dec 2002 09:11:03 +0000
Subject: Re: persistent java virtual machine under PHP
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-92092@lists.php.net to get a copy of this message
Ivan Ristic wrote:
    How is a persistent database connection handled then? e.g. in the
    mysql module?
Apache 1.x pre-creates a number of server processes. Each process handles a certain number of requests (one at a time), and then dies. It is then replaced with an another server process. The number of processes can vary depending on the load and the configuration. Database connections (and other resources) are persistent on the per-server-process level. What this means that an open connection in one server process cannot be reused from within another server process.
I see. This is sad news indeed. But is this really a closest one can get with apache? None of the other extension libraries for apache, like nsapi, provides the notion of persistent resources shared among all apache requestst? Akos

« previous php.dev (#92092) next »