Data distribution method based on Redis cluster and related equipment

The embodiment of the invention discloses a data distribution method based on a Redis cluster and related equipment applied to a server. The method comprises the following steps of: obtaining a plurality of preset cache queues, wherein each preset cache queue comprises at least one piece of preset e...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: XIE MINGXI
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 discloses a data distribution method based on a Redis cluster and related equipment applied to a server. The method comprises the following steps of: obtaining a plurality of preset cache queues, wherein each preset cache queue comprises at least one piece of preset event result data; obtaining a cache queue according to a plurality of preset cache queues, carryingout data distribution on a plurality of users to acquire a plurality of pieces of user allocation information corresponding to the plurality of users, if the plurality of preset event result data in the plurality of preset cache queues are allocated, executing the next step; if yes, storing the plurality of pieces of user allocation information into a preset Redis cluster, wherein the Redis cluster comprises a plurality of target cache queues, and each target cache queue corresponds to at least one piece of user distribution information, so that data distribution and storage are realized through two different cache qu