Newly added load node shunting method and storage medium
A load node and newly added technology, which is applied in the field of new load node distribution, can solve the problems of unbalanced distribution of node requests, service unavailability, and lack of intelligence, so as to prevent excessive load pressure from collapsing, improve traffic throughput, The effect of improving usability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Please refer to figure 2 , this embodiment provides a distribution method for newly added load nodes for the situation of newly added nodes in the distributed system, so as to achieve relatively balanced load of each node in the system and improve cluster availability. This embodiment is applicable to software such as mongo or cassandra or other database storage, and when it is deployed in a cluster, multiple distributed nodes will be deployed.
[0043] This embodiment specifically includes the following steps:
[0044] S1: After the new node joins the cluster system, it will register with the central node of the cluster and provide its own relevant information, which includes its own server name, intranet IP, port and other configuration information. After registration, the new node will contact the central The node establishes an association, and the central node can send a request to the new node accordingly;
[0045] Particularly, in this embodiment, the informat...
Embodiment 2
[0060] This embodiment corresponds to Embodiment 1, and provides a computer-readable storage medium on which a computer-readable program is stored. When the program is executed by a processor, the newly added load described in Embodiment 1 above can be implemented. The steps included in the node splitting method, the specific steps are not repeated here, please refer to the description of the first embodiment for details.
[0061] To sum up, the method and storage medium for a newly added load node distribution provided by the present invention can not only overcome the problem of the collapse of the new node due to excessive short-term load pressure; The load is relatively balanced, thereby significantly improving the availability of the cluster; further, it also has the advantages of high practicability and low implementation difficulty.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

