Efficient shared mutable hash

Edit Package perl-Hash-SharedMem
https://metacpan.org/release/Hash-SharedMem

This module provides a facility for efficiently sharing mutable data between processes on one host. Data is organised as a key/value store, resembling a Perl hash. The keys and values are restricted to octet (Latin-1) strings. Structured objects may be stored by serialising them using a mechanism such as Sereal.

The data is represented in files that are mapped into each process's memory space, which for interprocess communication amounts to the processes sharing memory. Processes are never blocked waiting for each other. The use of files means that there is some persistence, with the data continuing to exist when there are no processes with it mapped.

The data structure is optimised for the case where all the data fits into RAM. This happens either via buffering of a disk-based filesystem, or as the normal operation of a memory-backed filesystem, in either case as long as there isn't much swapping activity. If RAM isn't large enough, such that the data has to reside mainly on disk and parts of it have to be frequently reread from disk, speed will seriously suffer. The data structure exhibits poor locality of reference, and is not designed to play nicely with filesystem block sizes.

Refresh
Refresh
Source Files
Filename Size Changed
Hash-SharedMem-0.005.tar.gz 0000117668 115 KB
cpanspec.yml 0000000903 903 Bytes
perl-Hash-SharedMem.changes 0000000193 193 Bytes
perl-Hash-SharedMem.spec 0000003018 2.95 KB
Latest Revision
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 1099673 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 1)
- initial package 0.005
 * created by cpanspec 1.83.00
Comments 0
openSUSE Build Service is sponsored by