SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : perl-MLDBM-Sync
Version : 0.30 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.421 Date : 2024-10-10 23:03:26
Group : Development/Libraries/Perl Source RPM : perl-MLDBM-Sync-0.30-1.421.src.rpm
Size : 0.07 MB
Packager : (none)
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/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

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

Requires :
perl(:MODULE_COMPAT_5.40.0)
perl(MLDBM) >= 1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/MLDBM
/usr/lib/perl5/vendor_perl/5.40.0/MLDBM/Sync
/usr/lib/perl5/vendor_perl/5.40.0/MLDBM/Sync.pm
/usr/lib/perl5/vendor_perl/5.40.0/MLDBM/Sync/SDBM_File.pm
/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