[CDBI] (no subject)
Matt S Trout
dbix-class at trout.me.uk
Mon Jul 24 16:35:49 BST 2006
Daniel Williams wrote:
> I am undoubtedly going to sound like an idiot somewhere in this email.
> I absolutely need to minimise / limit the number of DBI connections and
> hopefully without impacting performance too much.
> I would like to use something like ResourcePool for the DBI connection
> inside of my (Class::DBI)DBI base class.
> When a script wants the database handle it uses db_Main, which is fine,
> I can put the resourcepool get stuff there. Does class dbi call a
> function once its completed an action that I can use the free the
> connection ?
> Even more fancy, I want to use ResourcePool::Singleton to have a single
> resource pool across an Apache Mod Perl environment.
> Has anyone gone down this track, and made it work ?
sqlrelay strikes me as being less effort.
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the ClassDBI