Alzabo::ObjectCache::Sync::IPC - Uses a IPC file to sync object caches
use Alzabo::ObjectCache( store => 'Alzabo::ObjectCache::Store::Memory', sync => 'Alzabo::ObjectCache::Sync::IPC', clear_on_startup => 1 );
This class implements object cache syncing between multiple processes using IPC to handle data storage. The IPC::Shareable module which it uses handles locking issues.
IPC::Shareable
In normal circumstances, the IPC segment used by this module is deleted when the process that first loaded the module ends. If the program is aborted abnormally (via an external signal) then this cleanup will probably not occur.
clear_on_startup => $boolean
If this is true, then the IPC segment is cleared when the module is loaded. This is generally desirable as an existing segment may contain spurious entries from previous executions of the program. However, in the interests of safety, this parameter defaults to false.
Dave Rolsky, <autarch@urth.org>
To install Alzabo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alzabo
CPAN shell
perl -MCPAN -e shell install Alzabo
For more information on module installation, please visit the detailed CPAN module installation guide.