×

System and Method for Maintaining Cache Coherency

  • US 20150161048A1
  • Filed: 12/09/2013
  • Published: 06/11/2015
  • Est. Priority Date: 12/09/2013
  • Status: Active Grant
First Claim
Patent Images

1. In a computing system having a cache memory and a storage device, a cache coherency method comprising:

  • intercepting, by a cache manager running on the computing system, a read request from an application running on the computing system;

    determining, by the cache manager from the intercepted read request, an identifier for a required object and a required generation number; and

    determining by the cache manager;

    if the required object is not stored in the cache memory, then storing in the cache memory a copy of the required object retrieved from the storage device, adding metadata regarding the stored object to the cache database, the stored object metadata comprising an object generation number equal to the application generation number, adding a reference to the stored object to a list of references to object stored in the cache memory that are being used by the application, and returning the copy of the object to the application,elseif the required object is stored in the cache memory, and the stored object is of a generation number that is not less than the required generation number, then adding a reference to the stored object to the list of references to objects stored in the cache memory that are being used by the application, and returning the stored object from the cache memory to the application,elseif the required object is stored in the cache memory, and the stored object is of a generation number that is less than the required generation number, then storing in the cache memory a copy of the required object retrieved from the storage device, adding metadata regarding the stored object to the cache database, the stored object metadata comprising an object generation number equal to the application generation number, adding a reference to the stored object to a list of references to objects stored in the cache memory that are being used by the application, and returning the copy of the object to the application.

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