Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libcache-fastmmap-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libcache-fastmmap-perl  ]

套件: libcache-fastmmap-perl (1.46-1build2)

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.

其他與 libcache-fastmmap-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
    dep: libc6 (>= 2.4) [i386]
  • dep: perl (>= 5.26.1-2ubuntu1)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.26.1
    本虛擬套件由這些套件提供: perl-base

下載 libcache-fastmmap-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 41.1 kB113 kB [文件列表]
i386 42.8 kB117 kB [文件列表]