Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: What's the best way to fetch data from multiple sources asynchronously?

by perrin (Chancellor)
on Jan 01, 2007 at 19:36 UTC ( [id://592456]=note: print w/replies, xml ) Need Help??


in reply to Re: What's the best way to fetch data from multiple sources asynchronously?
in thread What's the best way to fetch data from multiple sources asynchronously?

Was the thing that you implemented using DBD::mysql? It's not very clear if that module is thread-safe.
  • Comment on Re^2: What's the best way to fetch data from multiple sources asynchronously?

Replies are listed 'Best First'.
Re^3: What's the best way to fetch data from multiple sources asynchronously?
by bsdz (Friar) on Jan 01, 2007 at 20:48 UTC
    I did use DBD::mysql and it didn't cause any multi-threading problems. At least the module's documentation suggests it is thread safe. I may have kept a separate DB handle open in each thread though I am not entirely sure as it was several years ago.
      I'm sure you'd need a separate handle in each thread, but wasn't sure it would work at all. Thanks for the info.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://592456]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-18 13:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found