Design and Implementation of rabbitMQ micro Services Architecture Messaging Components

Summary

With the rapid development of the Internet, businesses of all sizes Taobao, WeChat 12306 and various other major broadcast platform, high-frequency applications emerging peak value, and in some special nodes, such as two-eleven Taobao Shopping Festival, Spring Festival 12306 peak rush tickets and other traffic system is the tens of thousands or even millions of times daily traffic. In order to prop up such a large performance requirements, the urgent need to meet a variety of levels.

The traditional monolithic architecture, although easy to develop, deploy and scale, but there are many drawbacks, especially the application of large or expanding team, these disadvantages will become more apparent and serious, long-term development is very unfavorable.

As a result, micro technology have put forward the concept of service in 2012, indicating the components and services is an inevitable trend in the development of system architecture, although the increase in the complexity of early development to some extent, increase the technical difficulty of the deployment, but We can establish a solid foundation for long-term development, which benefits far outweigh the drawbacks. Therefore, the study of micro-services architecture strengths and core elements, to explore the application rabbitMQ technology in large-scale business system for the development of low-latency, high concurrency great supporting role, high performance, high availability, high-reliability applications.

Based on the above background, the present graduation in-depth understanding of the technical background micro-service architecture, implemented under the premise of the principle advantages and disadvantages, the micro-architecture between various components of the service have been studied for asynchronous communication technique based on the message queue, typical message queue rabbitMQ as the main technical means to popular lightweight framework spring boot container, with the java language development, micro-services architecture to achieve a common messaging middleware.

Firstly, the use of technology and an overview of the theoretical research, and then use technology to achieve the above application components under three scenarios, namely, mail servers, and complex business split distributed task processing; this component by business Application Clusters communicating the message queue as a separate module to help complete some service system function, relieve pressure on the server.

Key words rabbitMQ springboot micro-messaging middleware services

Guess you like

Origin blog.csdn.net/asdJJkk/article/details/93377152