METHOD AND SYSTEM FOR SELF-TUNING CACHE MANAGEMENT
First Claim
1. A method for caching objects in a cache of predetermined capacity having a cache size threshold less than the predetermined capacity, the method comprising:
- (a) receiving a request, a hit, for an object;
(b) creating a plurality of hit buckets forming a hits distribution list, comprising;
(i) associating a corresponding number of hits with each bucket;
(ii) in said each bucket, storing accumulated sizes of objects having a number of hits corresponding to said each bucket;
(c) computing a hit threshold, comprising;
accumulating contents of the hit buckets having the highest hit numbers, without exceeding the cache size threshold;
selecting a lower hit number as the hit threshold;
(d) caching the object only if a hit number for the object exceeds the hit threshold; and
(e) repeating steps (a) to (d).
4 Assignments
0 Petitions
Accused Products
Abstract
Web objects, such as media files are sent through an adaptation server which includes a transcoder for adapting forwarded objects according to profiles of the receiving destinations, and a cache memory for caching frequently requested objects, including their adapted versions. The probability of additional requests for the same object before the object expires, is assessed by tracking hits. Only objects having experienced hits in excess of a hit threshold are cached, the hit threshold being adaptively adjusted based on the capacity of the cache, and the space required to store cached media files. Expired objects are collected in a list, and may be periodically ejected from the cache, or when the cache is nearly full.
10 Citations
1 Claim
-
1. A method for caching objects in a cache of predetermined capacity having a cache size threshold less than the predetermined capacity, the method comprising:
-
(a) receiving a request, a hit, for an object; (b) creating a plurality of hit buckets forming a hits distribution list, comprising; (i) associating a corresponding number of hits with each bucket; (ii) in said each bucket, storing accumulated sizes of objects having a number of hits corresponding to said each bucket; (c) computing a hit threshold, comprising; accumulating contents of the hit buckets having the highest hit numbers, without exceeding the cache size threshold; selecting a lower hit number as the hit threshold; (d) caching the object only if a hit number for the object exceeds the hit threshold; and (e) repeating steps (a) to (d).
-
Specification