Skip to content
Sections
>> Trisquel >> Balíky >> aramo >> perl >> libcache-fastmmap-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Zdroj: libcache-fastmmap-perl  ]

Balík: libcache-fastmmap-perl (1.57-1build1)

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.

Ostatné balíky súvisiace s balíkom libcache-fastmmap-perl

  • závisí
  • odporúča
  • navrhuje

Stiahnuť libcache-fastmmap-perl

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
amd64 46.3 kB129 kB [zoznam súborov]
arm64 46.5 kB120 kB [zoznam súborov]
armhf 43.9 kB108 kB [zoznam súborov]
ppc64el 48.5 kB212 kB [zoznam súborov]