etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Source: libcache-fastmmap-perl  ]

Package: libcache-fastmmap-perl (1.34-1)

Perl module providing a mmap'ed cache

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.

Tags: Software Development: Perl Development, Libraries, Implemented in: Perl, Role: Shared Library

Other Packages Related to libcache-fastmmap-perl

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.2) [hppa, i386, mips, mipsel]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.2.5) [amd64]
    dep: libc6 (>= 2.4) [armel, powerpc, s390]
    dep: libc6 (>= 2.6) [sparc]
  • dep: libc6.1 (>= 2.2) [ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
  • dep: perl (>= 5.10.0-23)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.10.0
    virtual package provided by perl-base

Download libcache-fastmmap-perl

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 49.5 kB180 kB [list of files]
armel 49.8 kB176 kB [list of files]
hppa 52.5 kB196 kB [list of files]
i386 49.3 kB176 kB [list of files]
ia64 59.4 kB236 kB [list of files]
mips 46.0 kB200 kB [list of files]
mipsel 46.6 kB200 kB [list of files]
powerpc 52.9 kB192 kB [list of files]
s390 49.5 kB184 kB [list of files]
sparc 48.6 kB176 kB [list of files]