2021 latest (full-color version) Spring Cloud Alibaba, from actual combat to source code

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 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 contents are as follows:

Spring Cloud Alibaba study notes general catalog

Due to space reasons, in order not to affect the reading, the entire catalog and content screenshots are shown here. This Spring Cloud Alibaba note that has been organized into a complete document can be obtained for free by [see the picture below to add a small assistant]. !

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Don't talk about martial ethics!  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 without affecting 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:

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Microservice environment construction

Don't talk about martial ethics!  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 simple and easy-to-use feature sets 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!

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Service Fault Tolerance-Sentinel

Sentinel is a lightweight flow control framework for 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:

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Service Gateway—Gateway

The microservice gateway is the entry point of 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 limiting, fuse, load balancing, blacklist and whitelist mechanisms, etc. This part focuses on the analysis of Gateway, and the main contents are as follows:

Don't talk about martial ethics!  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:

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Message Driven—RocketMQ

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Short Message Service—SMS

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Service configuration articles-Nacos Config

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

Distributed Transaction-Seata

Seata's design goal is to have no business intrusion, so it starts with the 2PC solution without business intrusion and evolves on the basis of 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 and roll 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.

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

 

to sum up

In recent years, the microservice architecture has quickly become popular throughout the technology community, and it is considered the future direction of IT software architecture. Although the enthusiasm is high, microservices are out of reach for many small and medium-sized companies, 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! Friends in need:

[See the picture below to add a small assistant] You can get it for free!

Don't talk about martial ethics!  Alibaba microservice online architecture notes, from actual combat to source code

Guess you like

Origin blog.csdn.net/m0_50180963/article/details/115132581