Micro-service high availability deployment method based on RabbitMQ and HAProxy

A high-availability, micro-service technology, applied in the field of service communication, can solve the problems of complex fault recovery process, poor stable operation performance, limited scalability and flexibility, achieve flexible deployment and expansion performance improvement, reduce failure loss, The effect of improving reliability

Active Publication Date: 2021-04-06
河南方达空间信息技术有限公司
View PDF10 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) The existing remote sensing satellite data receiving system usually adopts a single client/server architecture. The redundant backup design of equipment and software is simple, and it is easy to have a single point of failure, and the fault recovery process is complicated, and the long-term stable operation performance is poor. System reliabi

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
  • Micro-service high availability deployment method based on RabbitMQ and HAProxy
  • Micro-service high availability deployment method based on RabbitMQ and HAProxy
  • Micro-service high availability deployment method based on RabbitMQ and HAProxy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0055] A high-availability deployment method for microservices based on RabbitMQ and HAProxy, the steps are as follows:

[0056] Step 1: Equipped with a distributed microservice system architecture, using the HAProxy module as the system call entry, and the RabbitMQ cluster as the message queue.

[0057] Such as figure 1 As shown, the microservice system includes the HAProxy module, RabbitMQ cluster and microservice nodes, the HAProxy module is connected to t...

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 provides a micro-service high-availability deployment method based on RabbitMQ and HAProxy, and the method comprises the steps: carrying the architecture of a distributed micro-service system, taking an HAProxy module as a call entry, and taking a RabbitMQ cluster as a message queue; setting a message persistence and message confirmation mechanism in a RabbitMQ node, and configuring a RabbitMQ cluster, so that a communication message is reliably transmitted; defining a state machine Saga instance, defining a corresponding state machine through fluent grammar, registering the state machine Saga instance to ReceiveEndpoint, and achieving the configuration of final consistency of communication message data; arranging KeepAlived in the HAProxy module, and continuously carrying out the fault detection on the nodes of the two HAProxy servers. According to the invention, the standby HAProxy server can be quickly switched, the shutdown time of the system is minimized, the reliability of the micro-service system is improved, and meanwhile, the fault loss is greatly reduced; and multi-system cooperative operation, flexible deployment and expansion performance improvement can be realized.

Description

technical field [0001] The present invention relates to the technical field of service communication, in particular to a high-availability deployment method for microservices based on RabbitMQ and HAProxy. Background technique [0002] The main task of the remote sensing satellite data receiving system is to search and track satellites, receive and record satellite remote sensing data, telemetry data and satellite attitude data. The remote sensing satellite data receiving system is functionally divided into an antenna feed subsystem, a transmitting subsystem, a receiving channel subsystem, a multifunctional digital baseband subsystem, a modem subsystem, a monitoring subsystem, etc. [0003] The software system of the traditional remote sensing satellite data receiving system adopts a centralized architecture, and the deployment structure is simple. All business units of the entire system are deployed on a single node, and all functions are processed centrally. To a certain ...

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
IPC IPC(8): H04B7/185H04L29/06H04L29/08G06F9/50G06F9/54G06F11/14
CPCH04B7/18519H04L67/1008H04L67/1034G06F9/5083G06F9/546G06F11/1458G06F2209/547H04L67/01
Inventor 方圆李聪袁莹莹吴豪杰赵齐荣文博张华申海桢
Owner 河南方达空间信息技术有限公司
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