Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Temporary usage of RAM memoryby Anonymous Monk |
on Apr 10, 2014 at 21:35 UTC ( [id://1081878]=note: print w/replies, xml ) | Need Help?? |
No, memory doesn't work like that. The computer program that is called operating system generally restricts allocating memory (often RAM) only to running processes So to persist RAM allocation past the life of your program, you need another constantly running program , a daemon / service, one specifically designed to persist RAM allocations ... like shared memory And you need a special interface to communicate with said memory keepalive program, like IPC::ShareLite, Apache::SharedMem, IPC::Shareable You don't need to use mysql, you can use a regular file with proper flocking
In Section
Seekers of Perl Wisdom
|
|