CGI : Scripts and Programs : Development Tools : Libraries and Modules

Tie::FileLRUCache

Position: 36
Viewed: 11 times
AuthorN/A
VersionN/A
File SizeN/A
Date Added Jan 13th 2007
Last Updated Jan 13th 2007
PriceN/A
Platform(s)
Database(s)
LicenseFree
License Specifications No Specifications

0.0/5 (0 votes cast)


Description

Tie::FileLRUCache provides a persistent filesystem based LRU cache. It uses the 'last accessed' timestamp generated by the file system to determine the 'oldest' cache entry and discards the oldest cache entries when needed to stay under the -keep_last limit. If you store thing very fast (such that many entries receive the _same_ time stamp), it is essentially a coin toss which entry within a single timestamped second gets purged from the cache to make room for new ones.


Bookmark ScriptsPanel.com Digg Reddit Ma.gnolia Stumble Upon Facebook Twitter Google Yahoo! MyWeb Furl BlinkList Technorati Mixx