Redis-based message processing method, device and system, server and medium

A message processing and processor technology, applied in the computer field, can solve problems such as single point of failure, inability to ensure high system availability, and impact on the speed of enqueue operations and query operations, so as to avoid reduction, reduce information accumulation, and avoid single point of failure. Effect

Pending Publication Date: 2022-03-01
BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It often leads to the problem of data accumulation after the collection corresponding to a key (KEY) stores more messages, which in turn affects the speed of enqueue operations and query operations; and because the collection corresponds to the Event process one by one, there is a single point in the Event process Fault issues, unable to guarantee high availability of the entire system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Redis-based message processing method, device and system, server and medium
  • Redis-based message processing method, device and system, server and medium
  • Redis-based message processing method, device and system, server and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0027] It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.

[0028] figure 1 An exemplary architecture 100 to which the Redis-based message processing method or the Redis-based message processing apparatus of the present disclosure can be applied is shown.

[0029] Such as figure 1 As shown, the system architecture 100 may incl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a message processing method, device and system based on Redis, a server and a medium. A specific embodiment of the method comprises the following steps: in response to a received delay message task, determining a delay queue set receiving the delay message task as a target delay queue set, the target delay queue set comprises a delay queue set which is selected from at least two preset delay queue sets and matched with the delay message task; selecting a target process from a process set matched with the target delay queue set; querying a to-be-processed delay message task in the target delay queue through the target process; and sending the delay message task to be processed to a preset message consumption queue. According to the embodiment, the information accumulation in the delay queue set is reduced, the obvious reduction of the message processing efficiency is avoided, and the efficiency and the reliability of the whole system are improved.

Description

technical field [0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a Redis-based message processing method, device, system, server and medium. Background technique [0002] With the rapid development of Internet technology, the scale of data is also increasing. Correspondingly, new challenges are raised to the processing efficiency and usability of the database. [0003] In the prior art, the cache database Redis provides a set data structure, and the elements in the set are queried periodically (for example, every second) through the Event process for consumption. However, with the continuous development of business, the number of messages entering the queue gradually increases, and the amount of concurrency also increases accordingly. It often leads to the problem of data accumulation after the collection corresponding to a key (KEY) stores more messages, which in turn affects the speed of enqueue operations ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/54G06F16/22G06F16/2455G06F16/2457
CPCG06F9/546G06F16/2255G06F16/24552G06F16/24578
Inventor 郭思聪迟彪
Owner BEIJING JINGDONG TUOXIAN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products