steve wrote:
> Oh, and allow persistent connections in db apis again (like mysqli).

It might happen.  Wez Furlong was contemplating a persistent
connection implementation for the generic PDO interface following
on from the persistent connection model in the oci8 extension for
Oracle.

> As an example, lets suppose an example with 2000 connections, using
> keep-alive, with 20 connections downloading static content and 50
> downloading dynamic (PHP) content. In Apache 1.3, you would have to
> accommodate 2000 processes (either changing the hard limit, or using
> multiple servers). If you used persistent connections that would be
> 2000 (almost all idle) connections to mysql. (In the real world this
> is why you would either disable persistent connections or keep-alive,
> and most likely both.)

The oci8 extension lets you timeout idle persistent connections.

Unrelated to your FastCGI suggestion but FYI on database connection
pooling: http://blogs.oracle.com/opal/2007/01/03.  The pooling
described has no dependency on how you deploy your application and
works across multiple application types connecting to the DB.

Chris

--
Christopher Jones, Oracle
Email: [EMAIL PROTECTED]    Tel: +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to