Message processing method, device, device, storage medium and system

A message processing and cloud storage system technology, applied in the database field, can solve the problems of complexity, limited partition expansion, poor performance and scalability, etc., and achieve the effect of efficient reading and writing and low cost

Active Publication Date: 2022-02-01
ALIBABA CLOUD COMPUTING LTD +1
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above scheme, the splitting of topic partitions involves more complex operations, and usually the number of partitions under a topic is uncertain, and the expansion of partitions is relatively limited. Moreover, producers need to base their messages on the topic to which they publish The results of the partitioning under the partition, the routing of its published messages, and the complicated user operations make the traditional message system perform poorly in terms of performance and scalability when faced with the processing requirements of massive messages.

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 method, device, device, storage medium and system
  • Message processing method, device, device, storage medium and system
  • Message processing method, device, device, storage medium and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0030] In addition, the sequence of steps in the following method embodiments is only an example, rather than a strict limitation.

[0031] figure 1 A schematic diagram of the composition of a database system provided by the embodiment of the present invention, such as figure 1 As shown, the database system may include several computing nodes an...

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

Embodiments of the present invention provide a message processing method, device, device, storage medium, and system. The method includes: a computing node in a database system receives a message writing request sent by a message producer, and the message writing request includes a message queue identifier and the message body; according to the generated message sequence identifier under the message queue identifier, determine the target message sequence identifier corresponding to the message body, and the message sequence identifier generated under the message queue identifier is continuously increasing; combine the message queue identifier, target message sequence identifier and The message body is converted into the data format required by the first storage engine, so that the first storage engine stores the message queue identifier, the target message sequence identifier and the message body in the cloud storage system in the data format by calling the cloud storage service interface , the computing nodes are separated from the cloud storage system. Through this solution, efficient processing and long-term storage of massive messages can be realized.

Description

technical field [0001] The present invention relates to the technical field of databases, in particular to a message processing method, device, equipment, storage medium and system. Background technique [0002] Message Queue (Message Queue) is an important component in a distributed system. Its general usage scenario can be simply described as: when the result is not needed immediately, but the concurrency needs to be controlled, it is almost necessary to use the Message Queue when. The message queue mainly solves problems such as application coupling, asynchronous processing, and traffic cutting. [0003] The use of message queues such as traditional kafka is: each message published to the kafka cluster needs to have a category, this category is called a topic (topic), each topic can have multiple producers to send messages to it, There can also be multiple consumers to consume the messages. Messages of different topics are stored separately in the Kafka cluster. Physi...

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 Patents(China)
IPC IPC(8): G06F9/54G06F16/27
CPCG06F9/546G06F16/27G06F2209/548
Inventor 栾小凡杨晗沈春辉
Owner ALIBABA CLOUD COMPUTING 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