Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Efficient shared memory - possible? how??

by sundialsvc4 (Abbot)
on Feb 20, 2012 at 14:19 UTC ( #955077=note: print w/replies, xml ) Need Help??

in reply to Re: Efficient shared memory - possible? how??
in thread Efficient shared memory - possible? how??

I think that file-mapping is an excellent suggestion because it treats the shared resource “at arm’s length” especially in the sense of avoiding the memory-scribbling that can so easily occur among supposedly well-behaved children who are sharing exactly the same playpen at the same time.   Given that bugs will inevitably occur, even due the to slightest typo, this makes things a bit easier to spot.   (e.g. as in the preceding sentence.)

You might also seriously consider literally using a shared disk file, knowing that most if not all of the actual access will occur through a shared buffer pool that is helpfully maintained for you by the OS.

  • Comment on Re^2: 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://955077]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2023-01-30 04:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found