in reply to Tomcat, CGI scripts and DBI connection persistence

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.
  • Comment on Re: Tomcat, CGI scripts and DBI connection persistence

Replies are listed 'Best First'.
Re^2: Tomcat, CGI scripts and DBI connection persistence
by spx2 (Deacon) on Oct 30, 2011 at 11:02 UTC
    Thanks, I will use Time::HiRes to see if it is indeed a bottleneck