DATA DISTRIBUTION METHOD, STORAGE SERVER AND SUBSCRIPTION SERVER

The present invention relates to a data distribution method and apparatus, and a storage medium. The method comprises: obtaining a subscription timestamp of each subscription server in a subscription server set, the subscription timestamp being used for indicating a subscription progress of each sub...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: HU, Weisong
Format: Patent
Sprache:eng ; fre ; ger
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present invention relates to a data distribution method and apparatus, and a storage medium. The method comprises: obtaining a subscription timestamp of each subscription server in a subscription server set, the subscription timestamp being used for indicating a subscription progress of each subscription server; according to the subscription timestamp of each subscription server, determining a sorting result of the subscription servers in the subscription server set; according to the sorting result, determining a first subscription server and a target subscription server in the subscription server set, the target subscription server already subscribing to and storing a target message, and the target message being a message to be subscribed to by the first subscription server; and sending a notification message to the first subscription server, the notification message being used for indicating the first subscription server to subscribe to the target message from the target subscription server. Embodiments of the present invention effectively disperse subscription pressure of a plurality of subscription servers on a distributed message queue system, greatly reduce network communication loads of the distributed message queue system, and reduce consumption of machine resources.