System and method for managing large filesystem-based caches
Abstract
Embodiments disclosed herein utilize statistical approximations to manage large filesystem-based caches based on imperfect information. When removing entries from a large cache, which may have a million or more entries, the cache manager does not need to find the absolutely oldest entry that has been accessed the least recently. Instead, it suffices to find an entry that is older than most. In embodiments disclosed herein, statistical sampling of the cache is performed to produce models of different properties of the cache, including the number of entries, distribution of access times, distribution of entry sizes, etc. The models are then used to guide decisions that involve those properties. The size of the samples can be adjusted to balance the cost of acquiring the samples against the confidence level of the models produced by the samples. To achieve randomness, entries are stored using prefixes of addresses generated via a message-digest function.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 46 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of managing a cache, comprising: at a computer, obtaining a statistical sampling of said cache; generating a last access histogram based on said statistical sampling of said cache, wherein said last access histogram represents a distribution of access times of entries in said cache; generating a size histogram based on said statistical sampling of said cache, wherein said size histogram represents a distribution of entry sizes in said cache; determining a mean size of cache entries using said size histogram; determining a percentage of entries to be removed from said cache; determinin
- Claim 2Depends on #1
The method of claim 1 , further comprising:
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (46)
Non-Patent Literature (5)
- Chen et al., "Wormhole Caching with HTTP PUSH Method for Satellite-Based Web Content Multicast and Replication System" Workshop 99, pp. 1-14, 1999.
- Dias et al., A Smart Internet Caching System by University of Moratuwa, Sri Lanka, 13 pgs, 1996.
- Fielding et al. "13 Caching in HTTP" part of Hypertext Transfer Protocol-HTTP/1.1, The Internet Society, 20 pgs, 1999.
- Notice of Allowance issued in U.S. Appl. No. 12/819,985 mailed Dec. 15, 2010, 10 pgs.
- Office Action for U.S. Appl. No. 12/208,934, mailed May 10, 2011, 25 pgs.