×

Apparatus and method for data consistency in a proxy cache

  • US 7,552,223 B1
  • Filed: 04/25/2003
  • Issued: 06/23/2009
  • Est. Priority Date: 09/16/2002
  • Status: Active Grant
First Claim
Patent Images

1. A method to provide data consistency in a storage system, the method comprising:

  • storing active data from a plurality of servers in a proxy cache based on a demand indicated by a plurality of clients to access data from the plurality of servers, wherein the active data includes a plurality of files and is a subset of data stored in the plurality of servers;

    retaining the active data in the proxy cache based on a specific value assigned to each of the plurality of files, wherein the specific value of each particular file is dynamically determined based on a number of access requests made by the plurality of clients for the particular file;

    providing, by a server of the plurality of servers to the proxy cache, a lock associated with a delegated file in the server, wherein the server prevents a write operation on the delegated file in the server when the proxy cache has the lock;

    in response to a write request from a client of the plurality of clients, modifying, by the proxy cache, data in a cached copy of the delegated file, wherein the cached copy is stored in the proxy cache and wherein the write request modifies the data in the cached copy of the delegated file into a modified data in the cached copy;

    revoking, by the server, the lock associated with the delegated file so that the proxy cache provides the lock to the server, in response to a request from another device to access the delegated file in the server, wherein the delegated file is now a formerly delegated file after the proxy cache has provided the lock to the server; and

    writing the modified data from the proxy cache to the formerly delegated file in the server in order to update the formerly delegated file based upon the write request that modifies the data in the cached copy, when the server has obtained the lock from the proxy cache; and

    permitting access to the updated formerly delegated file in the server by the another device.

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