Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Use of shared memory to persist data between child processes

by fokat (Deacon)
on Oct 12, 2003 at 02:46 UTC ( [id://298583]=note: print w/replies, xml ) Need Help??


in reply to Use of shared memory to persist data between child processes

Keep in mind that if you're having lock()ing problems with files, you'll also have them with shared memory. Shared memory is expensive peroformancewise for the system.

The shared in its name only refers to the fact that it is mapped to more than one process. However, you still need to be /very/ careful when accessing it concurrently.

Having said this, take a look at IPC::ShareLite.

Best regards

-lem, but some call me fokat

  • Comment on Re: Use of shared memory to persist data between child processes

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found