The stupid question is the question not asked | |
PerlMonks |
Re: Use of shared memory to persist data between child processesby fokat (Deacon) |
on Oct 12, 2003 at 02:46 UTC ( [id://298583]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|