Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Sharing Hash Question

by ig (Vicar)
on Jul 05, 2012 at 09:00 UTC ( #979997=note: print w/replies, xml ) Need Help??

in reply to Sharing Hash Question

It may not help, but I would solve the performance problem without threads if I could. If I had to used threads, I would limit the shared data to the simplest data structures possible. I can't tell from the information you provided whether threads are necessary or, if they are, whether it is necessary to share complex data structures, but you might consider a re-design to avoid threads entirely, thus avoiding all your current problems.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2016-10-23 08:23 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.