Paketname | libcache-fastmmap-perl |
Beschreibung | Perl module providing a mmap'ed cache |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.35-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 176 Byte |
Hängt ab von | perl (>= 5.10.1-11), perlapi-5.10.1, libc6 (>= 2.4) |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 50902 Byte |
Prüfsumme MD5 | 8f5bf0f022381118356b7ce362f1f246 |
Prüfsumme SHA1 | edcd31723739b28f7a9db4550a9c82cef9b4c794 |
Prüfsumme SHA256 | 331611f343ff01b3cfac3bb27c308a2252993dd6919456bea3de3bf432428c0b |
Link zum Herunterladen | libcache-fastmmap-perl_1.35-1_i386.deb |
Ausführliche Beschreibung | Cache::FastMmap uses the mmap system call to establish an interprocess shared
memory cache. Its core code is written in C, which can provide significant
performance compared to a Pure Perl implementation such as Cache::Mmap. It can
handle rather large pages without the socket connection and latency of using
full-fledged databases where long-term persistence is unnecessary.
.
Since the algorithm uses a dual-level hashing system (a hash is used to find
a page, then another hash within each page to find a given slot), most get
calls can execute in constant O(1) time. The system uses fcntl to handle
concurrent access, but only locks individual pages to reduce contention. The
oldest (least recently used) data is evicted from the cache first, making
this cache implementation most suitable for cases when old data is unlikely
to be searched.
|