-
公开(公告)号:US11016969B1
公开(公告)日:2021-05-25
申请号:US17105040
申请日:2020-11-25
Applicant: Coupang Corp.
Inventor: Zhan Chen , Bin Dong , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/2452 , G06F16/2455 , G06F16/2453 , G06F16/27 , G06F11/34 , G06F16/25 , G06F16/28 , G06F11/20
Abstract: Systems and methods for managing a highly available distributed hybrid database comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: receive a query from a user device to retrieve data from a distributed database comprising a source node, a first plurality of replica nodes, and a second plurality of replica nodes, wherein the source node and the first plurality of replica nodes form a transactional cluster, and wherein the second plurality of replica nodes forms an analytical cluster; determine whether to process the query using the transactional cluster or the analytical cluster based on one or more rules; translate the query into a first protocol that the determined cluster comprehends; select a replica node corresponding to the determined cluster; process the query using the selected replica node; and send data associated with results from processing the query to the user device.
-
公开(公告)号:US11709830B2
公开(公告)日:2023-07-25
申请号:US17240219
申请日:2021-04-26
Applicant: Coupang Corp.
Inventor: Zhan Chen , Bin Dong , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/245 , G06F16/25 , G06F16/28 , G06F16/27 , G06F16/2452 , G06F16/2455 , G06F16/2453 , G06F11/34 , G06F11/20
CPC classification number: G06F16/24528 , G06F11/2025 , G06F11/3428 , G06F16/24549 , G06F16/24564 , G06F16/258 , G06F16/27 , G06F16/285
Abstract: Systems and methods for managing a highly available distributed hybrid database comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: receive a query from a user device to retrieve data from a distributed database comprising a source node, a first plurality of replica nodes, and a second plurality of replica nodes, wherein the source node and the first plurality of replica nodes form a transactional cluster, and wherein the second plurality of replica nodes forms an analytical cluster; determine whether to process the query using the transactional cluster or the analytical cluster based on one or more rules; translate the query into a first protocol that the determined cluster comprehends; select a replica node corresponding to the determined cluster; process the query using the selected replica node; and send data associated with results from processing the query to the user device.
-
公开(公告)号:US11627181B2
公开(公告)日:2023-04-11
申请号:US17338017
申请日:2021-06-03
Applicant: COUPANG CORP.
Inventor: Zhan Chen , Seong Hyun Jeong , Hyeong Gun Lee
IPC: H04L67/1008 , H04L67/1012 , H04L67/1029 , H04L67/1097 , H04L47/125 , H04L67/1036 , H04L67/1001 , H04L67/1004 , G06F11/34
Abstract: Systems and methods for monitoring utilization rates of a plurality of network-connected databases; receiving a first data read request from a first user device for a data element stored in the plurality of network-connected databases; selecting a first target database among the plurality of network-connected databases based on the utilization rates and a load sharing ratios; generating a first data query for a copy of the data element stored in the first target database; and forwarding the copy of the data element from the first target database to the first user device in response to the first data read request.
-
公开(公告)号:US11216441B1
公开(公告)日:2022-01-04
申请号:US17105127
申请日:2020-11-25
Applicant: Coupang Corp.
Inventor: Zhan Chen , Zhiyong Huang , Bin Dong , Chuanchuan Han , Junzhao Zhang
Abstract: 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.
-
5.
公开(公告)号:US20220222231A1
公开(公告)日:2022-07-14
申请号:US17147498
申请日:2021-01-13
Applicant: Coupang Corp.
IPC: G06F16/22 , G06F16/2457 , G06F16/2453 , G06K9/62
Abstract: Systems and method are provided for AI-based database parameter optimization. One method includes receiving, from a user device, a query; preprocessing the query; predicting a plurality of optimal parameters for executing the query, by: calculating a predicted change in database metrics based on the preprocessed query; sending the predicted change in database metrics to a tuner; calculating database performance metrics based on the predicted change in database metrics and current database performance metrics; and calculating a vector of optimal parameters based on the database performance metrics; and executing the received query based on the predicted plurality of optimal parameters.
-
公开(公告)号:US20220156237A1
公开(公告)日:2022-05-19
申请号:US17181272
申请日:2021-02-22
Applicant: Coupang Corp.
Inventor: Bin Dong , Zhan Chen , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/21 , G06F16/22 , G06F16/28 , G06F16/2455
Abstract: Methods and systems for database query efficiency improvement are disclosed. In one embodiment, a method includes mirroring a primary database to a secondary database; creating a testing database comprising the schema; receiving a query; running the query on the testing database; and evaluating the query by: identifying predicates in the query; determining most common values for each column name by querying the secondary database; creating, for each column name, a list comprising at least one of the most common values; creating a test predicate comprising one of the column names and an entry for the list corresponding to the column name; creating a test query comprising one or more test predicates; determining a resource utilization of the query by running each of the test queries on the secondary database; and providing, to a user interface for display, an efficiency improvement recommendation when the resource utilization exceeds a threshold.
-
公开(公告)号:US10963438B1
公开(公告)日:2021-03-30
申请号:US16950342
申请日:2020-11-17
Applicant: Coupang Corp.
Inventor: Bin Dong , Zhan Chen , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/00 , G06F16/21 , G06F16/2455 , G06F16/28 , G06F16/22
Abstract: Methods and systems for database query efficiency improvement are disclosed. In one embodiment, a method includes mirroring a primary database to a secondary database; creating a testing database comprising the schema; receiving a query; running the query on the testing database; and evaluating the query by: identifying predicates in the query; determining most common values for each column name by querying the secondary database; creating, for each column name, a list comprising at least one of the most common values; creating a test predicate comprising one of the column names and an entry for the list corresponding to the column name; creating a test query comprising one or more test predicates; determining a resource utilization of the query by running each of the test queries on the secondary database; and providing, to a user interface for display, an efficiency improvement recommendation when the resource utilization exceeds a threshold.
-
公开(公告)号:US12013826B2
公开(公告)日:2024-06-18
申请号:US17181272
申请日:2021-02-22
Applicant: Coupang Corp.
Inventor: Bin Dong , Zhan Chen , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/21 , G06F16/22 , G06F16/2455 , G06F16/28
CPC classification number: G06F16/217 , G06F16/211 , G06F16/214 , G06F16/221 , G06F16/24557 , G06F16/287
Abstract: Methods and systems for database query efficiency improvement are disclosed. In one embodiment, a method includes mirroring a primary database to a secondary database; creating a testing database comprising the schema; receiving a query; running the query on the testing database; and evaluating the query by: identifying predicates in the query; determining most common values for each column name by querying the secondary database; creating, for each column name, a list comprising at least one of the most common values; creating a test predicate comprising one of the column names and an entry for the list corresponding to the column name; creating a test query comprising one or more test predicates; determining a resource utilization of the query by running each of the test queries on the secondary database; and providing, to a user interface for display, an efficiency improvement recommendation when the resource utilization exceeds a threshold.
-
公开(公告)号:US11645263B2
公开(公告)日:2023-05-09
申请号:US17454407
申请日:2021-11-10
Applicant: Coupang Corp.
Inventor: Zhan Chen , Zhiyong Huang , Bin Dong , Chuanchuan Han , Junzhao Zhang
CPC classification number: G06F16/2358 , G06F11/008 , G06F11/1425 , G06F11/2025 , G06F11/3409 , G06F16/21 , G06F16/256
Abstract: 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.
-
公开(公告)号:US11150806B1
公开(公告)日:2021-10-19
申请号:US17237926
申请日:2021-04-22
Applicant: COUPANG CORP.
Inventor: Myungjae Won , Zhan Chen , Xuefei Zhang
Abstract: Disclosed embodiments provide systems and methods for reducing disk storage and network latency. A method reducing disk storage and network latency comprises receiving customer data of a customer to store in a database, conditioning the customer data, and formatting the conditioned customer data into first and second data strings respectively having a first data type and a second data type. The method further comprises flipping a sign bit of the first data string, encoding the sign-bit-flipped first data string and second data string into serialized data by representing every two digits of the first string with one byte, and flipping all bits of the serialized data if the received customer data is represented by a negative value. The method further comprises storing the serialized data in the database if negative, receiving a request for the customer data, deserializing serialized data to be retrieved from the database, and retrieving the deserialized data from the database.
-
-
-
-
-
-
-
-
-