hottub.patents
US 12,748,751 B2#3125312 Most CitedActiveUnited States (USPTO)Utility

Hybrid database system for strongly consistent and highly scalable metadata storage

0Forward Citations (#3125312 Global)
0.0/yrCitation Velocity (#3125312 Global)
0.00Citation PageRank (#3125312 Global)
15Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Techniques are disclosed for managing metadata of a distributed database system in a hybrid manner. A computer system may receive, from a computing device, a request to access a set of data stored in nodes of a distributed storage system that is a caching layer of the system. The system retrieves metadata for a set of data specified in the request, including accessing a reversemap storing a reverse-ordered copy of original metadata stored in a metadata store of the system, where the reversemap is stored on durable storage of the system. Based on retrieving the metadata from the reversemap, the system accesses nodes of the distributed storage system, where the reversemap specifies the nodes of the distributed storage system that store the set of data. The system transmits, to the computing device, information indicating a result of accessing data stored in nodes of the distributed storage system.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method, comprising: receiving, by a computer system from a computing device, a request to access a set of data stored in one or more nodes of a distributed storage system that is a caching layer of the computer system; retrieving, by the computer system, metadata for the set of data specified in the request, wherein retrieving the metadata includes accessing a reversemap storing a reverse-ordered copy of metadata stored in a metadata store of the computer system; accessing, by the computer system based on retrieving the metadata for the set of data from the reversemap, one or more nodes of the distributed storage system for the request; and transmitting, by the computer system to the computing device, information indicating a result of accessing the one or more nodes of the distributed storage system based on the metadata specified in the reversemap.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the reversemap stores metadata for one or more ledgers of data stored in the distributed storage system, and wherein the metadata stored in the reversemap indicates, for respective nodes of the distributed storage system, one or more database ledgers with a copy stored on that node.

  3. Claim 3Depends on #2

    The method of claim 2, wherein retrieving the metadata for the set of data includes: performing a reverse lookup of the set of data using the reversemap by determining which nodes of the distributed storage system store copies of one or more database ledgers corresponding to the set of data.

  4. Claim 4Depends on #1

    The method of claim 1, further comprising: generating, by the computer system, node-level snapshots of nodes of the distributed storage system; and storing, by the computer system, the node-level snapshots in durable storage of the computer system.

  5. Claim 5Depends on #4

    The method of claim 4, wherein a size of the reversemap is larger than a size of the node-level snapshots, and wherein the computer system generates the node-level snapshots more frequently than updated versions of the reversemap.

  6. Claim 6Depends on #1

    The method of claim 1, wherein accessing the one or more nodes of the distributed storage system for the request includes: in response to detecting that a node of the distributed storage system has failed, determining, based on the reversemap, one or more files stored in the failed node; generating a new node in the distributed storage system; and storing the one or more files that are stored in the failed node in the new node of the distributed storage system.

  7. Claim 7Depends on #6

    The method of claim 6, wherein the determining includes: identifying, based on the reversemap, at least two other nodes in the distributed storage system storing copies of the one or more files that are stored in the failed node.

  8. Claim 8Depends on #1

    The method of claim 1, wherein the reversemap is stored on durable storage of the computer system, and wherein the durable storage that stores the reversemap is a highly-scalable, eventually consistent storage for servicing requested database operations.

Technical Overview & Description

PRIORITY CLAIM The present application is a continuation of U.S. application Ser. No. 18/783,368, entitled “ HYBRID DATABASE SYSTEM FOR STRONGLY CONSISTENT AND HIGHLY SCALABLE METADATA STORAGE, ” filed Jul. 24, 2024, the disclosure of which is incorporated by reference herein in its entirety. BACKGROUND Technical Field This disclosure generally relates to database systems and, more specifically, to various mechanisms for implementing a strongly consistent, highly scalable metadata store. Description of the Related Art Databases are a common method for organizing stored data in computer systems. Many databases are distributed databases which store data across multiple different storage nodes, often in various locations, for example, on different servers that may be located in different geographic locations. End users may request to retrieve various records from a database. Such requests may be for various database operations, including retrieval of a database record, storage of a new record, or removal of a previously stored record from the database. Managing metadata of a distributed database, particularly one that has multiple storage nodes located in multiple different geographic locations (e.g., different data centers), such as a key-value store, is quite complicated. For example, metadata management for a distributed database may lead to various data management problems, including storage capacity, data retrieval speed, scalability, and cost, which may include both computational and financial costs. Often, the requirements of metadata maintenance are different than the requirements of regular data storage (i.e., the data that the metadata describes). As such, metadata storage may be implemented differently than storage of its corresponding data. For example, while the storage of data may require both consistency and scalability, metadata storage may only require consistency or scalability, or may only need to meet one of these requirements. In addition, certain

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 (15)