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

Re: Efficient shared memory - possible? how??

by BrowserUk (Patriarch)
on Feb 20, 2012 at 12:58 UTC ( #955068=note: print w/replies, xml ) Need Help??

in reply to Efficient shared memory - possible? how??


  • Threads & threads::shared.

    Relatively speed efficient, but somewhat memory hungry.

  • forks & Forks::shared.

    Horribly (speed) inefficient -- reads, writes, updated, deletes, locks, signals et al. are communicated between processes via serialisation and sockets to implement a client/server architecture.

  • Sys::Mmap

    Only does strings. You need to implement structures (hashes or arrays) on top of that module. Perhaps via tie.

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".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re: Efficient shared memory - possible? how??

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-01-30 04:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found