The Spring actual source code that Xiaobai can understand will let you go from entry to master!

Spring Cloud Alibaba is a one-stop solution for microservice development officially open sourced by Alibaba in November 2018. After nearly two years of development, it has become the most active and best development experience implementation in the Spring Cloud ecosystem. Recently, Spring Cloud Alibaba officially upgraded the surrounding tools again, deeply integrated with Cloud Toolkit, and provided a series of developer efficiency tools such as project creation, code writing, one-click deployment, and problem diagnosis.

With the birth of Spring CloudAlibaba, many developers suffer from lack of systematic study notes in their studies. This study manual hopes to help small partners in need. The main content directory is as follows:

Spring Cloud Alibaba study notes general catalog

Due to space reasons, in order not to affect reading, the entire catalog and content screenshots are displayed here. This Spring Cloud Alibaba note that has been compiled into a complete document can be obtained for free by adding VX: mxj94670 to friends in need !

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Basics

The microservice architecture model is evolved from the SOA architecture model. It is more sophisticated than the SOA architecture model. It allows professional people to do professional things (focus). The purpose is to improve efficiency. Each service does not affect each other. Each service in the service architecture must be deployed independently and does not affect each other. The microservice architecture model is lightweight, lightweight, and suitable for Internet company development models. This part focuses on analysis and explanation, and the content is as follows:

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Microservice environment construction

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Service Governance-Nacos

Nacos is committed to helping you discover, configure, and manage microservices. Nacos provides a set of easy-to-use features to help you quickly realize dynamic service discovery, service configuration, service metadata and traffic management. This part has an in-depth understanding of the use of Nacos and the underlying analysis!

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Service Fault Tolerance-Sentinel

Sentinel is a lightweight flow control framework oriented to distributed service frameworks. It mainly takes flow as the entry point, and maintains the stability of the system from multiple dimensions such as flow control, fuse degradation, and system load protection. This part mainly explains Sentinel, the main contents are as follows:

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Service Gateway—Gateway

The microservice gateway is the entry point for the entire microservice API request, which can implement the filtering API interface. Function: It can realize user authentication and login, solve cross-domain, log interception, permission control, current limit, fuse, load balancing, blacklist and whitelist mechanisms, etc. This part focuses on the analysis of Gateway, the main contents are as follows:

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Link Tracking-Sleuth

Spring Cloud Sleuth provides a complete service tracking solution, provides a link tracking solution in a distributed system and supports zipkin. This part mainly analyzes sleuth, and the content is as follows:

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Message Driven—RocketMQ

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Short Message Service—SMS

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Service configuration articles-Nacos Config

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

Distributed Transaction-Seata

Seata's design goal is to have no intrusion into the business, so it starts with the 2PC solution without business intrusion and evolves on the basis of the traditional 2PC. It understands a distributed transaction as a global transaction that includes several branch transactions. The responsibility of the global transaction is to coordinate the branch transactions under its jurisdiction to reach an agreement, either successfully commit together, or fail back together. In addition, usually the branch transaction itself is a local transaction of a relational database. This part is based on Seata's distributed transaction solution to explain in depth, and the content involved will be more detailed.

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

 

to sum up

In recent years, the microservice architecture has rapidly become popular throughout the technology community, and it is considered the future direction of IT software architecture. Although the enthusiasm is high, for many small and medium-sized companies, microservices are out of reach, because the size and capabilities of the team in turn restrict their pace of adopting new technologies.

If you are still learning Spring Cloud Alibaba and do not have good study notes and ideas, this study manual notes and the following thinking study route notes (including video explanations) can help you very well! There are a friend in need triple plus VX: mxj94670 you can get free pick up!

Do not talk about martial arts!  Alibaba microservice online architecture notes, from actual combat to source code

Guess you like

Origin blog.csdn.net/m0_46757769/article/details/112687506