Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message processing confirmation method and device

A message processing and message technology, applied in the computer field, can solve problems such as the performance degradation of the message consumption process, and achieve the effect of preventing message loss and improving performance

Active Publication Date: 2019-03-05
BEIJING GRIDSUM TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above problems, the present invention provides a message processing confirmation method and device to solve the technical problem that EasyNetQ automatically sends ACK for each message, thereby reducing the performance of the message consumption process

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 processing confirmation method and device
  • Message processing confirmation method and device
  • Message processing confirmation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present application can be more thoroughly understood, and the scope of the present application can be fully conveyed to those skilled in the art.

[0047] See figure 1 , which shows a flow chart of a message processing confirmation method in an embodiment of the present application, which is applied to the client EasyNetQ of RabbitMQ, such as figure 1As shown, the method may include the following steps:

[0048] S110, EasyNetQ receives the batch message confirmation request sent by the message calling end.

[0049] The batch message acknowledgment request ...

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 message processing confirmation method and device. A message calling end sends a batch message confirmation request to EasyNetQ; and after the EasyNetQ receives the batch message confirmation request, a counting identifier with a minimum numerical value in a message which is not completely processed currently is obtained. Then, batch confirmation is carried out for all processed messages with counting identifiers with numerical values smaller than the minimum numerical value, that is to say, by sending a batch processing confirmation message to RabbitMQ, all the processed messages with the counting identifiers with the numerical values smaller than the minimum numerical value can be confirmed at the same time, and namely, by sending the confirmation message once,multiple messages can be confirmed. According to the method, one-time ACK is carried out on the batch processed messages, so that the performance of the whole message consumption process is improved.In addition, the phenomenon that the ACK is sent for the message which is not completely processed in service is avoided, and the message is prevented from being lost.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a message processing confirmation method and device. Background technique [0002] RabbitMQ is one of the most widely used open source message queues. In order to allow users to interact with RabbitMQ in various scenarios, RabbitMQ officials and third parties have launched RabbitMQ clients for various development languages. [0003] EasyNetQ is one of the open source RabbitMQ clients. EasyNetQ is developed in C# language, which provides a convenient and reliable access to RabbitMQ for programs written based on .Net. Therefore, EasyNetQ is widely used in the .Net environment. When using EasyNetQ to consume messages in RabbitMQ, EasyNetQ will automatically send a confirmation message (that is, ACK) to RabbitMQ after the message is processed, and once RabbitMQ receives the ACK, it believes that the corresponding message has been processed by the caller, so in the queue...

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): H04L1/16
CPCH04L1/1621
Inventor 赵一飞
Owner BEIJING GRIDSUM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products