Paketname | libcache-fastmmap-perl |
Beschreibung | Perl module providing a mmap'ed cache |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 1.34-1 |
Sektion | universe/perl |
Priorität | optional |
Installierte Größe | 180 Byte |
Hängt ab von | perl (>= 5.10.0-24ubuntu4), perlapi-5.10.0, libc6 (>= 2.4) |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu Developers |
Quelle | |
Paketgröße | 50942 Byte |
Prüfsumme MD5 | ee5791700c175b2fc55db92964afe193 |
Prüfsumme SHA1 | 423442ce9991d0de7e06d25e0e319a5ef7ea7621 |
Prüfsumme SHA256 | 240f770db76c86edda53fabb34fb14c1922bfb7a23cd38213be8f2a71b1074b5 |
Link zum Herunterladen | libcache-fastmmap-perl_1.34-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.
|