Systems and methods for managing a highly available and scalable distributed database in a cloud computing environment

US11216441B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-11216441-B1
Application numberUS-202017105127-A
CountryUS
Kind codeB1
Filing dateNov 25, 2020
Priority dateNov 25, 2020
Publication dateJan 4, 2022
Grant dateJan 4, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Systems and methods for managing a highly available distributed database comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: determine that a source node, in a distributed database comprising the source node and one or more replica nodes, is not available; select a most-updated replica node from the one or more replica nodes; switch a role of the most-updated replica node to source; update a data store to label the source node as unavailable and the selected replica node as being a promoted source node; send a notification to a user device to update a database topology based on the updated data store; determine whether the user device has updated the database topology; and upon determining the user device has not updated the database topology, continue to send the notification to the user device until the user device has updated the database topology.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented system for managing a highly available distributed database in a cloud computing environment, the system comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: determine that a source node, in a distributed database comprising the source node and one or more replica nodes, is not available; in response to the determination, select a most-updated replica node from the one or more replica nodes; switch a role of the most-updated replica node from replica to source; update a data store to label the source node as unavailable and the selected replica node as being a promoted source node; send a notification to a user device connected to the distributed database to update a database topology log based on the updated data store; receive data corresponding to the database topology log of the user device; determine whether the user device has updated the database topology log based on the received data; and upon determining the user device has not updated the database topology log, continue to send the notification to the user device until the user device has updated the database topology log. 2. The system of claim 1 , wherein the processor is further configured to: determine that the source node is available; update a last seen time in the data store; wait for a specific time interval; and determine whether the source node is available. 3. The system of claim 1 , wherein the processor is further configured to: determine that no promoted source may be selected; upon the determination, alert the user device. 4. The system of claim 1 , wherein the data store is a distributed data store comprising a last seen time, database topology labels, and user device data and statistics. 5. The system of claim 1 , wherein the processor is further configured to, upon determining the user device has updated the database topology log, terminate a previous connection with the user device. 6. The system of claim 1 , wherein determining whether the user device has updated the database topology log comprises checking the data store for a confirmation from the user device. 7. The system of claim 1 , wherein the processor is further configured to monitor the data store and the distributed database in a specific time interval to ensure the data store is up to date. 8. The system of claim 1 , wherein the distributed database exists in a cloud computing environment. 9. The system of claim 1 , wherein the notification comprises instructions to connect the user device to the promoted source node. 10. A computer-implemented method for managing a highly available distributed database in a cloud computing environment, the method comprising: determining that a source node, in a distributed database comprising the source node and one or more replica nodes, is not available; in response to the determination, selecting a most-updated replica node from the one or more replica nodes; switching a role of the most-updated replica node from replica to source; updating a data store to label the source node as unavailable and the selected replica node as being a promoted source node; sending a notification to a user device connected to the distributed database to update a database topology log based on the updated data store; receiving data corresponding to the database topology log of the user device; determining whether the user device has updated the database topology log based on the received data; and upon determining the user device has not updated the database topology log, continuing to send the notification to the user device until the user device has updated the database topology log. 11. The method of claim 10 , further comprising: determining that the source node is available; updating a last seen time in the data store; wait for a specific time interval; and determine whether the source node is available. 12. The method of claim 10 , further comprising: determining that no promoted source may be selected; upon the determination, alerting the user device. 13. The method of claim 10 , wherein the data store is a distributed data store comprising a last seen time, database topology labels, and user device data and statistics. 14. The method of claim 10 , further comprising, upon determining the user device has updated the database topology log, terminating the previous connection with the user device. 15. The method of claim 10 , wherein determining whether the user device has updated the database topology log comprises checking the data store for a confirmation from the user device. 16. The method of claim 10 , further comprising monitoring the data store and the distributed database in a specific time interval to ensure the data store is up to date. 17. The method of claim 10 , wherein the distributed database exists in a cloud computing environment. 18. The method of claim 10 , wherein the notification comprises instructions to connect the user device to the promoted source node. 19. A computer-implemented system for managing a highly available distributed database in a cloud computing environment, the system comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: determine that a source node, in a distributed database existing in a cloud computing environment comprising the source node and one or more replica nodes, is not available; in response to the determination, select a most-updated replica node from the one or more replica nodes; switch a role of the most-updated replica node from replica to source; update a data store to label the source node as unavailable and the selected replica node as being a promoted source node; send a notification to a user device connected to the distributed database to update a database topology log based on the updated data store; receive data corresponding to the database topology log of the user device; determine whether the user device has updated the database topology log based on the received data; upon determining the user device has not updated the database topology log, continue to send the notification to the user device until the user device has updated the database topology log; and upon determining the user device has updated the database topology, terminate the previous connection with the user device. 20. The system of claim 19 , wherein the processor is further configured to: determine that the source node is available; update a last seen time in the data store; wait for a specific time interval; and determine whether the source node is available.

Assignees

Inventors

Classifications

  • with more than one idle spare processing component · CPC title

  • using centralised failover control functionality · CPC title

  • Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06) · CPC title

  • Data logging (G06F11/14, G06F11/2205 take precedence) · CPC title

  • where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11216441B1 cover?
Systems and methods for managing a highly available distributed database comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: determine that a source node, in a distributed database comprising the source node and one or more replica nodes, is not available; select a most-updated replica node from the one or more replica nodes; switch a…
Who is the assignee on this patent?
Coupang Corp
What technology area does this patent fall under?
Primary CPC classification G06F16/27. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 04 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).