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

Multi-cluster dynamic load method and device based on RabbitMQ and electronic equipment

A dynamic load and load balancing algorithm technology, applied in the field of message queues, can solve the problem of low message throughput, achieve the effect of improving message throughput, supporting concurrent access and fast data acquisition, and increasing the upper limit of message throughput processing

Active Publication Date: 2019-08-02
上海淇毓信息科技有限公司
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

RabbitMQ is mostly used in distributed platform architecture, and provides message queuing services through clustering, but the existing RabbitMQ is in the form of a single cluster, its processing limit is only 8000 messages / S, and it can only be accessed through direct connection, resulting in The throughput is not high

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
  • Multi-cluster dynamic load method and device based on RabbitMQ and electronic equipment
  • Multi-cluster dynamic load method and device based on RabbitMQ and electronic equipment
  • Multi-cluster dynamic load method and device based on RabbitMQ and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0061] figure 1 The implementation flowchart of the RabbitMQ cluster dynamic load method of the embodiment of the present invention is shown, which is used to improve message throughput, including the following steps:

[0062] Step S101, based on the open source RabbitMQ technology, under the microservice architecture, create multiple RabbitMQ clusters and link them through dynamic routing.

[0063] There are four servers (also kn...

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 relates to a multi-cluster dynamic load method based on RabbitMQ and realized by a computer. The method comprises the following steps: under a micro-service architecture, creating at least two RabbitMQ clusters, dynamically linking the RabbitMQ clusters, and distributing a message to be sent by a client to each RabbitMQ cluster by using a load balancing algorithm; and evaluating thehealth degree of each RabbitMQ cluster, and carrying out weight-based intelligent routing on each RabbitMQ cluster according to the health degree. The method provided by the invention is used for realizing intelligent dynamic load, supporting concurrent access and quickly acquiring data, and improving the message throughput.

Description

technical field [0001] The invention relates to a message queue, in particular to a RabbitMQ-based multi-cluster dynamic load method, electronic equipment and a computer-readable storage medium. Background technique [0002] RabbitMQ is an open source message broker software (also known as message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP), written in Erlang. RabbitMQ is mostly used in a distributed platform architecture, and provides message queue services through clustering. However, the existing RabbitMQ is in the form of a single cluster, and its processing limit is only 8000 messages / S, and it can only be accessed through direct connection, resulting in The throughput is not high. Contents of the invention [0003] In view of the above problems, the present invention is proposed to provide a RabbitMQ-based multi-cluster dynamic load method, device, electronic device, and computer-readable storage medium that overcome the above p...

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): H04L29/08
CPCH04L67/1001
Inventor 肖卫渭宋荣鑫黄建庭倪思勇
Owner 上海淇毓信息科技有限公司