EP1503303A2

System and method for managing objects stored in a cache

Abstract

The present invention is directed at a system and method for managing and evicting objects stored in a cache. The invention provides a mechanism for determining which objects to evict based on a weight that is calculated for each object stored in the cache. The weight is determined by at least two factors, including file size, file type, primary user, last access time, and the like, and by the relative importance of each of the factors. The weight for each object may be determined autonomously and/or may be determined upon a trigger event. The factors and their relative importance may be obtained from a policy applicable to one or several computers.

EP1503303A2, drawing sheet 1
Sheet 1 of 8

Term

Term ended

Projected expiry passed 12 July 2024, 2.2 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

35 claims: 5 independent, 30 dependent

  1. 1
    A computer-readable medium encoded with computer-executable instructions for performing a method that manages objects within a cache, the method comprising:determining a weight for each of a plurality of objects stored in a cache;determining a rank for each of the plurality of objects based on the weight;storing a rank for each of the plurality of objects;anddeleting a low priority object from within the cache, the low priority object having the lowest rank among the plurality of objects.
  2. 15
    A computer-readable medium encoded with computer-executable instructions for performing a method that evicts objects from a cache, the method comprising:obtaining a policy related to the purpose for eviction;accessing a queue corresponding to the policy;selecting an object within the queue based on the ranking of the object within the queue;deleting the object from the queue;anddeleting the object from the cache.
  3. 24
    A computer-readable medium having computer-executable components with instructions for managing objects within a cache, the instructions comprising:a first component configured to download objects from a remote computer to a local computer;a second component configured to assign a weight to each object that is downloaded, to store the weight, and to store the object in the cache, the second component further configured to perform an eviction process within the cache, the eviction process comprising: obtaining a policy related to the purpose for eviction;accessing a queue corresponding to the policy;selecting an object within the queue based on the ranking of the object within the queue;deleting the object from the queue;anddeleting the object from the cache.
  4. 29
    A system for managing objects within a cache, comprising:a processor;a memory into which a plurality of instructions are loaded, the plurality of instructions performing a method comprising: determining a weight for each of a plurality of objects stored in a cache;determining a rank for each of the plurality of objects based on the weight;storing a rank for each of the plurality of objects;anddeleting a low priority object from within the cache, the low priority object having the lowest rank among the plurality of objects.
  5. 34
    A system for evicting objects from within a cache, comprising:a processor;a memory into which a plurality of instructions are loaded, the plurality of instructions performing a method comprising: locating an object from within a cache based on a weight that has been assigned to the object, the weight being based on at least two factors and indicating that the object is the least important object in the cache;anddeleting the object from the cache.