perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Vanasco <modperl-l...@2xlp.com>
Subject Re: what is correct way to use mod_perl2, Apache2, and DBI?
Date Mon, 01 May 2006 22:52:18 GMT

On May 1, 2006, at 6:19 PM, Perrin Harkins wrote:
> No, Apache::DBI will not cache connections made during startup.   
> Trying
> to share a connection made during startup would lead to worse things
> than bad performance: segfaults and strange, apparently random DBI
> errors.

Is that a new feature?  I thought all connections made @startup were  
cached.

I guess connections made outside of the handler post-startup are cached?

I'm not quite sure.  What i do know is that I have multiple cached  
connections on my setup - one handle per apache child, so i'm happy.




Mime
View raw message