Do you know where your variables are? | |
PerlMonks |
Re: Tomcat, CGI scripts and DBI connection persistenceby bart (Canon) |
on Oct 29, 2011 at 21:53 UTC ( [id://934652]=note: print w/replies, xml ) | Need Help?? |
Are you sure the DBI connection is your bottleneck? You shoul time it, with Time::HiRes you fetch the times just before and after the connection, to calculate how many milliseconds it actually takes. Depending on the database this might actually be not more than a few milliseconds, in which case I'd say: don't bother.
In Section
Seekers of Perl Wisdom
|
|