SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-MLDBM-Sync rpm build for : OpenSuSE. For other distributions click perl-MLDBM-Sync.

Name : perl-MLDBM-Sync
Version : 0.30 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.1.1 Date : 2023-01-27 16:54:37
Group : Development/Libraries/Perl Source RPM : perl-MLDBM-Sync-0.30-lp154.1.1.src.rpm
Size : 0.07 MB
Packager : https://www_suse_com/
Summary : Safe concurrent access to MLDBM databases
Description :
This module wraps around the MLDBM interface, by handling concurrent access
to MLDBM databases with file locking, and flushes i/o explicity per
lock/unlock. The new [Read]Lock()/UnLock() API can be used to serialize
requests logically and improve performance for bundled reads & writes.

my $sync_dbm_obj = tie %cache, \'MLDBM::Sync\', \'/tmp/syncdbm\', O_CREAT|O_RDWR, 0640;


$sync_dbm_obj->Lock;
... all accesses to DBM LOCK_EX protected, and go to same tied file handles
$cache{\'KEY\'} = \'VALUE\';
$sync_dbm_obj->UnLock;


$sync_dbm_obj->ReadLock;
... all read accesses to DBM LOCK_SH protected, and go to same tied files
... WARNING, cannot write to DBM in ReadLock() section, will die()
... WARNING, my $v = $cache{\'KEY\'}{\'SUBKEY\'} will trigger a write so not safe
... to use in ReadLock() section
my $value = $cache{\'KEY\'};
$sync_dbm_obj->UnLock;


$cache{\'KEY\'} = \'VALUE\';
my $value = $cache{\'KEY\'};

MLDBM continues to serve as the underlying OO layer that serializes complex
data structures to be stored in the databases. See the MLDBM BUGS section
for important limitations.

MLDBM::Sync also provides built in RAM caching with Tie::Cache md5 key
checksum functionality.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/15.4/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-MLDBM-Sync-0.30-lp154.1.1.noarch.rpm
     

Provides :
perl(MLDBM::Sync)
perl(MLDBM::Sync::SDBM_File)
perl-MLDBM-Sync

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(MLDBM) >= 1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/MLDBM
/usr/lib/perl5/vendor_perl/5.26.1/MLDBM/Sync
/usr/lib/perl5/vendor_perl/5.26.1/MLDBM/Sync.pm
/usr/lib/perl5/vendor_perl/5.26.1/MLDBM/Sync/SDBM_File.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-MLDBM-Sync
/usr/share/doc/packages/perl-MLDBM-Sync/CHANGES
/usr/share/doc/packages/perl-MLDBM-Sync/Makefile
/usr/share/doc/packages/perl-MLDBM-Sync/README
/usr/share/man/man3/MLDBM::Sync.3pm.gz

 
ICM