The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Alzabo::ObjectCache::Sync::IPC - Uses a IPC file to sync object caches

SYNOPSIS

  use Alzabo::ObjectCache( store => 'Alzabo::ObjectCache::Store::Memory',
                           sync  => 'Alzabo::ObjectCache::Sync::IPC',
                           clear_on_startup => 1 );

DESCRIPTION

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.

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 certain signals, for example) then this cleanup will probably not occur.

AUTHOR

Dave Rolsky, <autarch@urth.org>