Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Simple DBI handle caching.

by anonymized user 468275 (Curate)
on May 11, 2011 at 15:23 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://904182]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found