Req #51865 [Opn->Csd]: Make use of Apache httpd 2.2's mod_dbd connection pooling
| From: | kalle@php.net | Date: | Mon, 16 Aug 2010 20:19:54 +0000 |
| Subject: | Req #51865 [Opn->Csd]: Make use of Apache httpd 2.2's mod_dbd connection pooling | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153486@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51865&edit=1
ID: 51865
Updated by: kalle@php.net
Reported by: i dot galic at brainsware dot org
Summary: Make use of Apache httpd 2.2's mod_dbd connection
pooling
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: *Database Functions
Operating System: Any
PHP Version: 5.3.2
-Assigned To:
+Assigned To: kalle
Block user comment: N
New Comment:
One should implement this as an extension like mysqlnd is implemented,
allowing others to inherit from the abstraction code. Its quite possible
such a thing might come up in PECL, but for the Core PHP its not very
likely that any of us are going to work on it.
Also you have to keep in mind that it requires alot of changes to allow
connection pooling while under Apache, and at the same time allowing an
extension to use another, non Apache based webserver, like IIS to work
with. Else the extension would get way too limited.
Previous Comments:
------------------------------------------------------------------------
[2010-05-20 02:12:37] i dot galic at brainsware dot org
Description:
------------
Due to the fact that PHP doesn't really have pooled DB connections, or
at least doesn't seem to be able to handle them:
http://bugs.php.net/bug.php?id=46740 I was
wondering if it would be
possible to implement connection pooling using the apr_dbd API as
provided by httpd, which can be configured via httpd.conf with mod_dbd.
IMO, this would get the LAMP stack a bit closer to being an Application
Server.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51865&edit=1