Retrieval and caching of object metadata across data sources and storage systems
Abstract
A system for retrieving and caching metadata from a remote data source is described. The system may receive a request from a client device. The request is to perform a query operation on a set of data objects stored in the remote data source. The system may access a metadata cache storing metadata information on one or more data objects of the remote data source and identify metadata corresponding to the set of data objects for the query operation in the metadata cache. The system may determine whether the identified metadata for the set of data objects meets an update condition. In response to the identified metadata meeting the update condition, the system may fetch updated metadata for at least the set of data objects from the remote data source, and store the updated metadata in the metadata cache.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method, comprising: receiving, from a client device, a request to perform a query operation on a set of data objects stored in a data source, wherein the data source is remote from a computing system; prior to accessing the set of data objects in the data source, accessing a metadata cache storing metadata of one or more data objects, the metadata cache located at the computing system, and the metadata describing information of the one or more data objects stored in the data source; identifying metadata corresponding to the set of data objects for the query operation in the metadata cache; determining whether the identified metadata for the set of data objects meets an update condition; executing, responsive to determining that the identified metadata does not meet the update condition, the query operation based on the identified metadata; and providing one or more results of executing the query operation to the client device.
- Claim 2Depends on #1
The method of claim 1, wherein the metadata in the metadata cache is fetched from the data source and the metadata cache is stored at a computing resource of the computing system, and the computing resource is different from a cluster that fetches the metadata.
- Claim 3Depends on #1
The method of claim 1, wherein the identified metadata comprises a timestamp associated with the update condition.
- Claim 4Depends on #1
The method of claim 1, further comprising: determining that the identified metadata is not consistent with the set of data objects for the query operation; fetching, from the data source, updated metadata for the set of data objects; and executing the query operation based on the updated metadata.
- Claim 5Depends on #4
The method of claim 4, wherein fetching the updated metadata comprising: identifying a cluster identifier configured to fetch the updated metadata from the data source; and sending a request to the identified cluster based on the cluster identifier, causing the identified cluster to fetch the updated metadata from the data source.
- Claim 6Depends on #1
The method of claim 1, wherein the metadata cache stores the metadata according to a hierarchical namespace.
- Claim 7Depends on #1
The method of claim 1, further comprising: identifying second metadata corresponding to a second set of data objects in the metadata cache; determining whether the identified second metadata for the second set of data objects meets a refresh deadline; fetching, responsive to the identified second metadata meeting the update condition, updated second metadata from the data source; and storing the updated second metadata in the metadata cache.
- Claim 8Independent Claim
A non-transitory computer-readable medium comprising stored instructions that when executed by one or more processors of one or more computing devices, cause the one or more computing devices to: receive, from a client device, a request to perform a query operation on a set of data objects stored in a data source, wherein the data source is remote from the one or more computing devices; prior to accessing the set of data objects in the data source, access a metadata cache storing metadata of one or more data objects, the metadata cache located at the one or more computing devices, and the metadata describing information of the one or more data objects stored in the data source; identify metadata corresponding to the set of data objects for the query operation in the metadata cache; determine whether the identified metadata for the set of data objects meets an update condition; execute, responsive to determining that the identified metadata does not meet the update condition, the query operation based on the identified metadata; and provide one or more results of executing the query operation to the client device.
- Claim 9Depends on #8
The non-transitory computer-readable medium of claim 8, wherein the metadata in the metadata cache is fetched from the data source and the metadata cache is stored at a computing resource of the one or more computing devices, and the computing resource is different from a cluster that fetches the metadata.
- Claim 10Depends on #8
The non-transitory computer-readable medium of claim 8, wherein the identified metadata comprises a timestamp associated with the update condition.
- Claim 11Depends on #8
The non-transitory computer-readable medium of claim 8, wherein the stored instructions executable by the one more processors to further cause the one or more computing devices to: determine that the identified metadata is not consistent with the set of data objects for the query operation; fetch, from the data source, updated metadata for the set of data objects; and execute the query operation based on the updated metadata.
- Claim 12Depends on #11
The non-transitory computer-readable medium of claim 11, wherein the instructions to fetch updated metadata further comprise stored instructions executable by the one more processors to cause the one or more computing devices to: identify a cluster identifier configured to fetch the updated metadata from the data source; and send a request to the identified cluster based on the cluster identifier, causing the identified cluster to fetch the updated metadata from the data source.
- Claim 13Depends on #8
The non-transitory computer-readable medium of claim 8, wherein the metadata cache stores the metadata according to a hierarchical namespace.
- Claim 14Depends on #8
The non-transitory computer-readable medium of claim 8, wherein the stored instructions executable by the one more processors to further cause the one or more computing devices to: identify second metadata corresponding to a second set of data objects in the metadata cache; determine whether the identified second metadata for the second set of data objects meets a refresh deadline; fetch, responsive to the identified second metadata meeting the update condition, updated second metadata from the data source; and store the updated second metadata in the metadata cache.
- Claim 15Independent Claim
A system comprising: one or more computer processors; and one or more computer-readable mediums storing instructions that, when executed by the one or more computer processors, cause the system to: receive, from a client device, a request to perform a query operation on a set of data objects stored in a data source, wherein the data source is remote from the system; prior to accessing the set of data objects in the data source, access a metadata cache storing metadata of one or more data objects, the metadata cache located at the system, and the metadata describing information of the one or more data objects stored in the data source; identify metadata corresponding to the set of data objects for the query operation in the metadata cache; determine whether the identified metadata for the set of data objects meets an update condition; execute, responsive to determining that the identified metadata does not meet the update condition, the query operation based on the identified metadata; and provide one or more results of executing the query operation to the client device.
- Claim 16Depends on #15
The system of claim 15, wherein the metadata in the metadata cache is fetched from the data source and the metadata cache is stored at a computing resource of the system, and the computing resource is different from a cluster that fetches the metadata.
- Claim 17Depends on #15
The system of claim 15, wherein the identified metadata comprises a timestamp associated with the update condition.
- Claim 18Depends on #15
The system of claim 15, wherein the stored instructions executed by the one or more computer processors to further cause the system to: determine that the identified metadata is not consistent with the set of data objects for the query operation; fetch, from the data source, updated metadata for the set of data objects; and execute the query operation based on the updated metadata.
- Claim 19Depends on #18
The system of claim 18, wherein the instructions to fetch updated metadata further comprise stored instructions executed by the one or more computer processors to cause the system to: identify a cluster identifier configured to fetch the updated metadata from the data source; and send a request to the identified cluster based on the cluster identifier, causing the identified cluster to fetch the updated metadata from the data source.
- Claim 20Depends on #15
The system of claim 15, wherein the metadata cache stores the metadata according to a hierarchical namespace.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of prior, co-pending U.S. application Ser. No. 18/135,078, filed on Apr. 14, 2023, which is incorporated herein by reference in its entirety for all purposes. TECHNICAL FIELD This disclosure relates generally to data storage technology, and more particularly to retrieving and caching object metadata. BACKGROUND A data processing service may manage a significant amount of data for one or more entities in various forms, such as raw data or data tables. Users access the data processing service to perform operations (e.g., a query operation) on the data. To return the results of the operations to the users, the data processing service may need to access remote data sources, which often causes network overhead and overload on the remote data sources. The overhead and load grow linearly with the number of queries, users, and clusters being used by the data processing system. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a high-level block diagram of a system environment for a data processing service, in accordance with an embodiment. FIG. 2 illustrates a block diagram of an architecture of a data storage system, in accordance with an embodiment. FIG. 3 illustrates a block diagram of an architecture of a control layer, in accordance with an embodiment. FIG. 4 illustrates a block diagram of an architecture of a cluster computing system of the data layer, in accordance with an embodiment. FIG. 5 illustrates a method of using a unity catalog module retrieving and caching metadata, in accordance with an embodiment. FIG. 6 illustrates a flow chart of a method for retrieving and caching metadata, in accordance with an embodiment. FIG. 7 illustrates a flow chart of another method for retrieving and caching metadata, in accordance with an embodiment. FIG. 8 is a block diagram illustrating an example machine to read and execute computer readable instructions, in accordance with an embodiment. The figures depic
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (2)
| Patent | Title | Year | Citations |
|---|