Data synchronization method and device, storage medium and electronic equipment

The embodiment of the invention provides a data synchronization method and device, a storage medium and electronic equipment, and the method comprises the steps: for each target message queue included in a plurality of message queues, obtaining subscription information of the target message queue; u...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YUAN DONGHAI, LEI YASHUAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a data synchronization method and device, a storage medium and electronic equipment, and the method comprises the steps: for each target message queue included in a plurality of message queues, obtaining subscription information of the target message queue; under the condition that the subscription information of the target message queue is changed, determining whether the number of the target nodes is changed or not; under the condition that the number of the target nodes changes, determining a second number of the target nodes; determining a target data synchronization strategy for synchronizing the data stored in the target message queue based on the first quantity and the second quantity; and synchronizing the data stored in the target message queue to the to-be-synchronized node indicated by the target data synchronization strategy. Through the method and the device, the problem of relatively poor cluster performance caused by data synchronization in related techn