Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Simple DBI handle caching.

by SimonClinch (Deacon)
on May 11, 2011 at 15:23 UTC ( #904182=note: print w/replies, xml ) Need Help??


in reply to Simple DBI handle caching.

I couldn't find such a thing either. I think I'd settle for the child having its own db handle. It won't make any difference to inherent elapsed time( because e.g. login becomes simultaneous anyway if the child does it instead), only that due to the resource impact from increasing concurrent db sessions, which itself seems inevitable anyway.

Update: I tend to use Parallel::Forkmanager for multiple DBI sessions and have the parent only manage its children rather than do any DB stuff itself during the parallel processing phase.

One world, one people

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://904182]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2016-12-04 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (65 votes). Check out past polls.