Unlock instant, AI-driven research and patent intelligence for your innovation.

Device and method for improving message queue system performance

A system performance and message queue technology, applied in the field of devices for improving the performance of message queue systems, can solve the problems of skyrocketing memory and uneven arrival of messages, and achieve the effect of improving performance

Inactive Publication Date: 2013-04-24
人民搜索网络股份公司
View PDF6 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 2) Multiple producers (because the producer is related to the upstream processing capacity of the message queue, its number is not controlled by the message queue);
[0010] 3) Producers will send messages to multiple queues, and the arrival of messages is uneven, resulting in the possibility that multiple producers may continue to send messages to one queue at the same time;
[0013] At this time, the cluster feature of RabbitMQ will cause the memory of a single instance of RabbitMQ to skyrocket

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
  • Device and method for improving message queue system performance
  • Device and method for improving message queue system performance
  • Device and method for improving message queue system performance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The device and the method of the present invention will be described in further detail below with reference to the accompanying drawings and the embodiments of the present invention.

[0045] Thrift is a software framework for scalable and cross-language service development that combines a powerful software stack and code generation engine to build seamless, efficient services across multiple programming languages. It was originally developed by Facebook, open sourced in April 2007, and entered the Apache incubator in May 2008.

[0046] Redis is a high-performance key-value storage system.

[0047] The present invention applies Thrift and Redis technologies.

[0048] figure 1 It is a schematic structural diagram of an apparatus for improving the performance of a message queue system according to the present invention. like figure 1As shown, the device mainly includes 6 modules, namely: producer module (Producer), Thrift Server transit layer module, consumer module (...

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 device and a method for improving the message queue system performance. The device comprises a producer module, a Thrift Server transferring layer module, a consumer module, a central node database, automatic tools and a hyper text transfer protocol (HTTP) server. The producer module is used for achieving the functions of transmission strategy and connection management; the Thrift Server transferring layer module is used for achieving connection management, inquiring and maintenance of correspondence of a queue and the host machine where the queue is located, the statistic function, the quotas administration function and the message releasing function; the consumer module is mainly used for achieving the functions of connection management, inquiring and maintenance of the correspondence of the queue and the main machine where the queue is located and message obtaining; the central node database is used for achieving the unified rear end storage, and serving as the metamessage of a central node maintenance system through Redis; the automatic tools comprise a series of automatic tools; and the HTTP server is used for supplying RESTful access interfaces for reading and transmitting message queue messages. By means of the device and method, the shortcoming that example internal memory boom can occur to the RabbitMQ cluster characteristics, the RabbitMQ performance of the message queue can be improved, and the processing capability can be improved.

Description

technical field [0001] The invention relates to an inter-program communication mechanism and a message queue processing technology, in particular to a device and a method for improving the performance of a message queue system. Background technique [0002] Message Queue (Message Queue) is a method of process communication between applications. Applications communicate by writing and reading application-specific data (messages) to and from the queue, without requiring a dedicated connection. Messaging refers to the communication between programs by sending data in messages rather than through remote procedure calls. The use of queues removes the requirement that the receiving and sending applications need to be executed at the same time, and achieves the purpose of decoupling between programs. [0003] A message queue is a typical producer and consumer model. One end continuously writes messages to the message queue, while the other end can read or subscribe to the message...

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/46
Inventor 刘浩
Owner 人民搜索网络股份公司