Systems and methods for achieving near zero impact during node failure in a cluster system
Abstract
Disclosed are systems and methods for node management performed by a client driver of a client device comprising receiving cluster topology data from the cluster system; transmitting, a data request to each of a plurality of nodes in a cluster system; receiving a reply from each of the nodes that are responsive; assigning, by the client driver, based on the received replies, a responsive status for each of the nodes that are responsive or a non-responsive status for each of nodes that are non-responsive; updating a listing of management data, wherein the management data includes: an identification of each of the plurality of nodes, and a current status of each of the plurality of nodes; and routing, by the client driver, a client request to one of the plurality of nodes that are responsive based on the cluster topology data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.
Claims (18 — 3 Independent, 15 Dependent)
- Claim 1Independent Claim
A node management system comprising a client device in data communication with a plurality of nodes in a cluster system, wherein the client device comprises a client driver, and the client driver is configured to: route a client request to one of the plurality of nodes that are responsive based on cluster topology data of the cluster system and management data of the cluster system, wherein the cluster topology data includes an address of each of the plurality of nodes in the cluster system, perform a hashing function on a key contained in the client request to obtain a hash value, perform a modulo function on the hash value to obtain a data slot value of the key using a total number of a plurality of data slots in the cluster system, the data slot value being a data slot value of one of the plurality of data slots in the cluster system, and the data slot value being associated with the one of the plurality of nodes that are responsive, and route the client request to the one of the plurality of nodes further based on the data slot value and by knowing the plurality of data slots allocated to each of the plurality of nodes in the cluster system and the total number of the plurality of data slots in the cluster system.
- Claim 2Depends on #1
The node management system of claim 1, wherein the client driver is further configured to receive the cluster topology data from a leader node of the cluster system.
- Claim 3Depends on #1
The node management system of claim 1, wherein the client driver is further configured to: transmit a data request to each of the plurality of nodes; and receive a reply from each of the plurality of nodes that are responsive.
- Claim 4Depends on #3
The node management system of claim 3, wherein the client driver is further configured to assign, based on the received replies, a responsive status for each of the plurality of nodes that are responsive or a non-responsive status for each of the plurality of nodes that are non-responsive.
- Claim 5Depends on #1
The node management system of claim 1, wherein the client driver is further configured to update a listing of the management data, wherein the management data includes: an identification of each of the plurality of nodes, a current status of each of the plurality of nodes, a response time for a reply from each of the plurality of nodes that are responsive, and a load on each of the plurality of nodes.
- Claim 6Depends on #5
The node management system of claim 5, wherein the load is based on a number of connections to the node.
- Claim 7Depends on #5
The node management system of claim 5, wherein the load is based on a resource utilization on the node.
- Claim 8Depends on #1
The node management system of claim 1, wherein the management data includes a count of a number of consecutive times each of the plurality of nodes failed to provide a reply to a data request.
- Claim 9Depends on #1
The node management system of claim 1, wherein the cluster topology data includes an identification of a node not previously in the cluster system.
- Claim 10Independent Claim
A node management method, comprising: receiving, by a client driver of a client device, cluster topology data from a leader node of a cluster system; routing, by the client driver of the client device, a client request to one of a plurality of nodes that are responsive based on the cluster topology data and management data of the cluster system; performing, by the client driver of the client device, a hashing function on a key contained in the client request to obtain a hash value; performing, by the client driver of the client device, a modulo function on the hash value to obtain a data slot value of the key using a total number of a plurality of data slots in the cluster system, the data slot value being a data slot value of one of the plurality of data slots in the cluster system, and the data slot value being associated with the one of the plurality of nodes that are responsive; and routing, by the client driver of the client device, the client request to the one of the plurality of nodes further based on the data slot value and by knowing the plurality of data slots allocated to each of the plurality of nodes in the cluster system and the total number of the plurality of data slots in the cluster system.
- Claim 11Depends on #10
The node management method of claim 10, further comprising transmitting, by the client driver of the client device, a data request to each of the plurality of nodes in the cluster system.
- Claim 12Depends on #10
The node management method of claim 10, further comprising: receiving, by the client driver of the client device, a reply from each of the plurality of nodes that are responsive; and assigning, by the client driver of the client device, based on the received replies, a responsive status for each of the plurality of nodes that are responsive or a non-responsive status for each of the plurality of nodes that are non-responsive.
- Claim 13Depends on #10
The node management method of claim 10 further comprising updating, by the client driver of the client device, a listing of the management data, wherein the management data includes: an identification of each of the plurality of nodes, a current status of each of the plurality of nodes, response time for a reply from each of the plurality of nodes that are responsive, and a load on each of the plurality of nodes.
- Claim 14Depends on #10
The node management method of claim 10, wherein: each of the plurality of nodes stores a data set; and the data set is a complete data set subject to request by the client device.
- Claim 15Depends on #10
The node management method of claim 10, further comprising increasing, by the client driver of the client device, a frequency in which it periodically transmits data requests to one of the plurality of nodes, when the one of the plurality of nodes is assigned a non-responsive status.
- Claim 16Depends on #10
The node management method of claim 10, further comprising receiving, by the client driver of the client device, the cluster topology data from transmitting a cluster topology request to a hostname of the cluster system.
- Claim 17Depends on #10
The node management method of claim 10, wherein: the management data further includes a leader status for each of the plurality of nodes; and a reply from each of the plurality of nodes that are responsive includes an indication of a leader status for an associated node.
- Claim 18Independent Claim
A non-transitory computer-accessible medium comprising instructions for execution by a processor, wherein, upon execution of the instructions, the processor is configured to perform procedures comprising: routing, by a client driver of a client device, a client request to one of a plurality of nodes that are responsive based on cluster topology data and management data of a cluster system, wherein the cluster topology data includes an address of each of the plurality of nodes in the cluster system; performing, by the client driver of the client device, a hashing function on a key contained in the client request to obtain a hash value; performing, by the client driver of the client device, a modulo function on the hash value to obtain a data slot value of the key using a total number of a plurality of data slots in the cluster system, the data slot value being a data slot value of one of the plurality of data slots in the cluster system, and the data slot value being associated with the one of the plurality of nodes that are responsive; and routing, by the client driver of the client device, the client request to the one of the plurality of nodes further based on the data slot value and by knowing the plurality of data slots allocated to each of the plurality of nodes in the cluster system and the total number of the plurality of data slots in the cluster system.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATION This application is a continuation of U.S. patent application Ser. No. 17/585,407 filed Jan. 26, 2022, now U.S. Pat. No. 12,008,250, the complete disclosure of which is incorporated herein by reference in its entirety. FIELD OF THE DISCLOSURE The present disclosure is generally related to systems and methods for mitigating node failure in distributed cluster server arrangements. BACKGROUND Node failure occurring in a multi-node distributed cluster is challenging. Conventional approaches have attempted to address node failure in such configurations by utilizing overly complex protocols and/or adding additional components. In one conventional approach, for example, when a node fails, client requests are sent to a random node which doesn't have the data that the failed node previously had. It can take up to an hour or more to restore data previously stored in the failed node into a new node, so such an approach can cause token look-up failure. Another approach to address node failure is to create an equal number of read replica nodes. While this approach can reduce node failure time to a few minutes, doubling the number of available nodes can be prohibitively expensive to implement. Other conventional approaches fail to adequately minimize node failure time. In addition, these approaches fail to prevent adverse performance and latency impacts on the multi-node cluster system. These and other drawbacks exist in the conventional art. Accordingly, there is a need to effectively and efficiently mitigate node failure. SUMMARY OF THE DISCLOSURE Embodiments of the present disclosure provide a system, method, and a non-transitory computer-accessible medium having stored thereon computer-executable instructions for leader node election in cluster arrangements. Exemplary embodiments provide a node management system, method, and computer arrangement, comprising: a cluster system comprising a plurality of nodes, including a leader node; and a
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 (12)
Non-Patent Literature (2)
- Notification concerning Transmittal of International Preliminary Report on Patentability issued in related PCT/US2023/011451, mailed Jul. 30, 2024, 10 pages.
- International Search Report and the Written Opinion of the International Searching Authority issued in related PCT Application No. PCT/US2023/011451 mailed May 16, 2023, 15 pages.