A data synchronization method, system, device and readable storage medium
A data synchronization and current data technology, applied in digital transmission systems, transmission systems, data exchange networks, etc., can solve problems affecting cluster performance and stability, consumption of master nodes, and difficulty in data consistency, so as to ensure cluster stability , Guaranteed processing performance, and improved cluster performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Please refer to figure 1 , figure 1 It is a flowchart of a data synchronization method in an embodiment of the present invention. The method can be applied to a distributed cluster, and the method includes the following steps:
[0045] S101. The slave node receives a synchronization notification message sent by the master node.
[0046] In a distributed cluster, it usually includes one master node and multiple slave nodes. The node that receives the synchronization notification message sent by the master node is one of the multiple slave nodes. That is to say, in this embodiment, the slave node that receives the synchronization notification message is any one of multiple slave nodes, rather than two or more slave nodes all receiving the synchronization notification message at the same time.
[0047] Specifically, a scheduling module can be configured to be deployed on each slave node, and when the scheduling module is started, the synchronization notification message...
Embodiment 2
[0073] Corresponding to the above method embodiments, the embodiments of the present invention further provide a data synchronization system, and the data synchronization system described below and the data synchronization method described above may refer to each other correspondingly.
[0074] see figure 2 As shown, the system includes the following modules:
[0075] The master node 100 on which the monitoring module 10 is deployed, and the slave nodes 200-20N on which the scheduling module 20 is deployed are multiple, wherein only one of the multiple scheduling modules is activated at the same time (such as figure 2 As shown, the scheduling module corresponding to the slave node 202 can be regarded as an activated state, while other slave nodes are in an inactivated state);
[0076] The monitoring module 10 is used to monitor each slave node and send synchronization notification information to the scheduling module;
[0077] The scheduling module 20 is configured to pars...
Embodiment 3
[0094] Corresponding to the above method embodiments, the embodiments of the present invention further provide a data synchronization device, and a data synchronization device described below and a data synchronization method described above may refer to each other correspondingly.
[0095] see Figure 4 As shown, the data synchronization device includes:
[0096] a memory D1 for storing computer programs;
[0097] The processor D2 is configured to implement the steps of the data synchronization method of the above method embodiments when executing the computer program.
[0098] For details, please refer to Figure 5 , a schematic diagram of a specific structure of a data synchronization device provided in this embodiment. The data synchronization device may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 322 (eg, one or more processors) and memory 332, one or more stor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


