×

Cache region concept

  • US 10,007,608 B2
  • Filed: 03/27/2015
  • Issued: 06/26/2018
  • Est. Priority Date: 12/28/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • configuring an application to cache objects according to different caching treatments, each of the different caching treatments associated with different regions of a cache, said configuring comprising installing a different combination of storage plug-ins and eviction policy plugins for each different region of the cache, each of said storage plug-ins comprising code to perform get operations and put operations, the get operations configured to move objects from the region to one or more locations outside of the cache in accordance with the caching treatment associated with the region, the put operations configured to move objects to the region from the one or more locations outside of the cache in accordance with the caching treatment, each of said eviction policy plug-ins comprising code to perform cache eviction operations based on a sorting component and an eviction timing component, the sorting component implementing a sorting queue for identifying an object that is to be evicted from the region in accordance with the caching treatment, the eviction timing component determining when the identified object is to be removed from the region in accordance with the caching treatment based on a first threshold level and a second threshold level, the eviction timing component removing the identified object at a predetermined time interval in response to a count of objects in the sorting queue exceeding the first threshold level of a plurality of threshold levels, the eviction timing component removing the identified object when an additional object is added to the sorting queue in response to the count of objects in the sorting queue exceeding the second threshold level of the plurality of threshold levels, the first threshold value being less than the second threshold value with respect to a targeted maximum object count, wherein the region is within a local memory that is private to a virtual machine that executes said code to perform the cache eviction operations.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×