Message queue-based processing method and message queue

A technology of message queue and processing method, applied in the field of message queue-based processing method and message queue, can solve problems such as message backlog, and achieve the effect of solving a large amount of backlog

Pending Publication Date: 2020-04-07
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the present invention provides a message queue-based processing method and message queue, which can not only meet the scene requirements for one-to-one publish-subscribe mode in real life, but also effectively solve the problem of a large number of messages on the production side or consumption side. Backlog issues, which in turn helps to improve the performance of the only producer application, the only consumer application

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
  • Message queue-based processing method and message queue
  • Message queue-based processing method and message queue
  • Message queue-based processing method and message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0039] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0040] Before introducing the embodiments of the present invention in detail, some technical terms involved in the embodiments of the present invention will be described first.

[0041] Redis: An open s...

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 invention discloses a processing method based on a message queue and the message queue, and relates to the technical field of computers. The method comprises the steps that the state of a unique consumer application is monitored; monitoring the total amount of the messages under the same theme stored in the message storage area; when it is monitored that the unique consumer application is in an abnormal state and/or the total message amount is larger than or equal to a preset threshold value, a production pause notification is sent to a unique producer application, so that the unique producer application pauses production of a message; wherein the unique producer application and the unique consumer application belong to the same theme. By means of the method, the scene requirement fora one-to-one publishing-subscribing mode in actual life can be met, the problem that a large number of messages are overstocked on the production side or the consumption side can be effectively solved, and then the performance of unique producer application and the performance of unique consumer application can be improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a processing method based on message queues and message queues. Background technique [0002] In the field of Internet and software, message queue has become a common technical means. The underlying design principle of the message queue is the "producer-consumer" model. The source of the message is the producer application, the producer application (or called the producer program) continuously produces the message and puts the produced message into the message queue, and the consumer application (or called the consumer program) from the message queue Get messages for consumption. At present, there are mainly two ways for consumer applications to obtain messages: "push" and "pull". [0003] In the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] First, the existing message queues are all o...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54G06F16/242G06F16/28
CPCG06F9/546
Inventor 方琪
Owner BEIJING JINGDONG SHANGKE INFORMATION 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