Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: threads::shared vs IPC::Shareable

by BrowserUk (Patriarch)
on Dec 02, 2015 at 19:14 UTC ( [id://1149204]=note: print w/replies, xml ) Need Help??


in reply to threads::shared vs IPC::Shareable

There is no way to answer your question on the basis of the (lack of) information you've provided.

The first questions I have are:

  • Why are you sharing a hash?
  • What are the keys to the hash?
  • Does the information being stored in the value associated with each key come from a single preprocessor; or is it accumulated from multiple preprocessors?

    If it is from a single preprocessor, why does it need to be shared through a hash?

    If it is accumulated from multiple preprocessors; how will the processing app know when any given key is ready for post processing?

And many more question arise depending upon the answers to those.

Basically, until you describe what information is being passed from the preprocessors to the processor; how that information is keyed; and how it is derived and/or accumlated; any response to your question is an uneducated guess.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1149204]
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-24 01:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found