ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-dbi-dev
perl-dbi-dev
How About Connection Pools
by John Scoles other posts by this author
Jun 12 2008 9:06AM messages near this date
DBD::Oracle copy/paste error | Re: How About Connection Pools
I have been doing a little research into connection Pooling with OCI and 
I was just wondering if the concept of a "Connection Pool" would fit 
into the DBI spec someplace.

As we already have DBI::Apache and "connect_cache"  would it just be 
redundant to add this  "connect_pool" as the present functionality can 
be 'Bent' to that way?

Say something like this

$DBI-> connect_pool($pool_name,$data_source,$username, 
$password,$min_connections,$max_connections,\%attr);

The idea being one could create two separate pools at the Apache level 
one for lets say "Read_only_Users"  and one for "Read_Write_Users" and 
use connections out of the pool.

Or am I just creating something that no-one else will use??

cheers
John Scoels
Thread:
John Scoles
Tim Bunce

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved