Method, system and program product for caching data objects
First Claim
1. A method for caching data objects that are registered according to classes, the method comprising:
- providing a cache having a cache log for the data objects, wherein the cache log is adapted to log a history of requests for a data object that is not stored in the cache;
assigning discard rules to the data objects on a class basis;
predicting needed data objects based on the cache log;
prefetching the needed data objects that are predicted to be needed into the cache;
discarding particular data objects from the cache based on the discard rules; and
managing a discard queue and a refresh queue concurrently.
3 Assignments
0 Petitions
Accused Products
Abstract
Under the present invention, a history of requests for data objects are tracked and maintained in a cache log. Based on the history, certain data objects are prefetched into a cache. When a request for a cached data object is later received, the requested data object can be retrieved from the cache and served to the requesting user. Thus, the latency involved with obtaining the data objects from the appropriate sources is eliminated. Further, under the present invention, discard and refresh rules are assigned to each data object on a class basis. Accordingly, data objects in the cache can be refreshed and/or discarded so that the caching operation can be optimized.
80 Citations
23 Claims
-
1. A method for caching data objects that are registered according to classes, the method comprising:
-
providing a cache having a cache log for the data objects, wherein the cache log is adapted to log a history of requests for a data object that is not stored in the cache; assigning discard rules to the data objects on a class basis; predicting needed data objects based on the cache log; prefetching the needed data objects that are predicted to be needed into the cache; discarding particular data objects from the cache based on the discard rules; and managing a discard queue and a refresh queue concurrently. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for caching data objects, that are registered according to classes, the system comprising:
-
a logger for logging a history of requests for data objects in a cache log that is adapted to log the history of requests for a data object that is not stored in the cache; a predictor for analyzing the cache log and prefetching needed data objects that are predicted to by into a cache based on the history of requests; a request analyzer for discarding data objects from the cache based on discard rules assigned to the data objects, wherein the discard rules are assigned to the data objects on a class basis and; a governor for concurrently managing a refresh queue and a discard queue. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A program product stored on a storage medium for caching data objects, that are registered according to classes, the program when executed, comprises:
-
program code for logging a history of requests for data objects in a cache log that is adapted to log the history of requests for a data object that is not stored in the cache; program code for analyzing the cache log and prefetching needed data objects into a cache based on the history of requests; program code for discarding data objects from the cache based on discard rules assigned to the data objects, wherein the discard rules are assigned to the data objects on a class basis; and program code for concurrently managing a refreshed queue and a discard queue. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification