Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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.


Comment on Re: Sharing Hash Question

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-09-20 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (155 votes), past polls