×

AGE-BASED POLICIES FOR DETERMINING DATABASE CACHE HITS

  • US 20160012099A1
  • Filed: 07/13/2015
  • Published: 01/14/2016
  • Est. Priority Date: 07/14/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • maintaining, in a cache of data comprising data that is also stored in a database, a data item and metadata associated with the data item, wherein the metadata indicates when the data item was last marked as in sync with the database;

    receiving a policy that indicates a cutoff point, wherein, according to the cutoff point, data last marked, by the metadata, as reflecting data stored in the database at any particular point before the cutoff point is deemed invalid and data last marked, by the metadata, as reflecting data stored in the database at any particular point after the cutoff point is deemed valid;

    processing a request for a plurality of data items comprising the data item, wherein, according to the policy, return of the data item from the cache is conditional upon evaluation of the cutoff point relative to the metadata associated with the data item;

    comparing the metadata associated with the data item to the cutoff point to determine whether the data item is valid; and

    in response to determining that the data item in the cache is valid, returning the data item from the cache.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×