Reading from a site cache in a distributed file system
First Claim
Patent Images
1. A method comprising:
- performing the following operations at a site cache that includes stored data objects;
receiving a read request from a client, wherein the read request includes a data object identifier of a data object and a location reference for an authoritative object store, the location reference being received from a metadata server by way of the client;
when it is determined from the data object identifier that the data object is stored at the site cache, returning the data object from the site cache to the client; and
performing the following operations when it is determined that the data object is not stored at the site cache;
forwarding the read request, received from the client, from the site cache to the authoritative object store at the location reference;
receiving, at the site cache, the data object from the authoritative object store in response to the forwarded read request;
storing the data object in a transient object store of the site cache;
updating a metadata store included as part of the site cache to include the data object identifier; and
returning the data object to the client.
13 Assignments
0 Petitions
Accused Products
Abstract
A method, article of manufacture, and apparatus for providing a site cache in a distributed file system is discussed. Data objects may be read from a site cache rather than an authoritative object store. This provides performance benefits when a client reading the data has a better connection to the site cache than to the authoritative object store.
-
Citations
13 Claims
-
1. A method comprising:
performing the following operations at a site cache that includes stored data objects; receiving a read request from a client, wherein the read request includes a data object identifier of a data object and a location reference for an authoritative object store, the location reference being received from a metadata server by way of the client; when it is determined from the data object identifier that the data object is stored at the site cache, returning the data object from the site cache to the client; and performing the following operations when it is determined that the data object is not stored at the site cache; forwarding the read request, received from the client, from the site cache to the authoritative object store at the location reference; receiving, at the site cache, the data object from the authoritative object store in response to the forwarded read request; storing the data object in a transient object store of the site cache; updating a metadata store included as part of the site cache to include the data object identifier; and returning the data object to the client. - View Dependent Claims (2, 3, 4)
-
5. A system comprising a non-transitory computer readable storage medium and a processor configured to execute instructions which, when executed by the processor, perform operations comprising:
-
receiving a read request from a client, wherein the read request includes a data object identifier of a data object and a location reference for an authoritative object store, the location reference being received from a metadata server by way of the client; when it is determined from the data object identifier that the data object is stored at the site cache, returning the data object from the site cache to the client; and performing the following operations when it is determined that the data object is not stored at the site cache; forwarding the read request, received from the client, from the site cache to the authoritative object store at the location reference; receiving, at the site cache, the data object from the authoritative object store in response to the forwarded read request; storing the data object in a transient object store of the site cache; updating a metadata store included as part of the site cache to include the data object identifier; and returning the data object to the client. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer readable storage medium comprising instructions which, when executed by a processor, perform operations comprising:
-
receiving a read request from a client, wherein the read request includes a data object identifier of a data object and a location reference for an authoritative object store, the location reference being received from a metadata server by way of the client; when it is determined from the data object identifier that the data object is stored at the site cache, returning the data object from the site cache to the client; and performing the following operations when it is determined that the data object is not stored at the site cache; forwarding the read request, received from the client, from the site cache to the authoritative object store at the location reference; receiving, at the site cache, the data object from the authoritative object store in response to the forwarded read request; storing the data object in a transient object store of the site cache; updating a metadata store included as part of the site cache to include the data object identifier; and returning the data object to the client. - View Dependent Claims (10, 11, 12, 13)
-
Specification