Another new work! Alibaba's second edition of the Spring Cloud Alibaba learning manual is open source for a limited time!

1. Why use spring cloud alibaba

Many people may ask, with the spring cloud micro-service framework, why use the spring cloud alibaba framework again?

With the further expansion of the business scale, the further surge in traffic, and the further increase in the number of microservices, the registry center Eureka used by the old microservice system is overwhelmed. At the same time, the Spring Cloud system has evolved to the second generation, the first generation of Eureka registration. The center is no longer suitable for the current business logic and scale. At the same time, it is currently officially placed in maintenance mode by Spring Cloud and will no longer move forward. So there is an urgent need for some other alternative products, that is, spring cloud alibaba, which is currently in a state of vigorous development.

2. How to learn Spring Cloud Alibaba

Spring Cloud Alibaba is the second-generation implementation of Spring Cloud produced by Alibaba. It is the solution and essence of Alibaba's microservices. It is widely used in the industry and the use of microservices is the general trend. However, there are very few complete study notes on the market. The original study guide map and Spring Cloud Alibaba study manual notes are specially compiled here to share with friends!

 

Three, Spring Cloud Alibaba study manual notes

A comprehensive analysis of the technical components under the Spring Cloud Alibaba ecosystem from application to principle. The technical components involved include:

  • Distributed service governance Dubbo,
  • Service configuration and service registry Nacos,
  • Distributed current limiting and fusing Sentinel,
  • Distributed message communication RocketMQ,
  • Distributed Transaction Seata
  • Spring Cloud Gateway

All the technical components involved in this note are designed using the "scenario→demand→solution→application→principle" high-efficiency technology learning model to let you know what it is and why. In the "principle" part, the author uses a lot of source code and graphics to analyze, to help readers achieve the goal of deep learning and understanding of technical components! Due to space reasons, this article only shows the catalog and content screenshots. The free method for those who need to learn is at the end of the article!

 

Basic content

 

 

Microservice environment construction

 

 

Service Governance-Nacos

What is Nacos? It is a microservice component launched by Ali, which can be used as a service registration center and configuration center. It is equivalent to a combination of Eureka and Config, and it also has good support for Dubbo. This part has an in-depth understanding of the use of Nacos and the underlying layer!

 

 

Service Fault Tolerance-Sentinel

With the popularity of microservices, the stability between services and services becomes more and more important. Sentinel is a lightweight flow control product oriented to distributed service architecture . It mainly uses flow as the entry point to help you protect the stability of services from multiple dimensions such as flow control, fuse degradation, and system load protection. This part mainly explains Sentinel, the main content is as follows:

 

 

Service Gateway—Gateway

In the microservice architecture, the API gateway is a service and the only entrance to the server. From the point of view of object-oriented design, it is similar to appearance mode. The API gateway encapsulates the internal architecture of the system and provides a customized API for each client. The gateway also has other responsibilities, such as authentication, load balancing, degradation, and application detection. This part focuses on the analysis of Gateway, the main contents are as follows:

 

 

Link Tracking-Sleuth

 

 

Message Driven—RocketMQ

 

 

Short Message Service—SMS

The function of sending SMS is the most common requirement in the development process. Including the sending of user login verification codes, and the sending of promotional SMS messages. This part will analyze in depth how to design and implement an SMS service

 

 

Service configuration articles-Nacos Config

 

 

Distributed Transaction-Seata

Seata is an Alibaba open source distributed transaction solution, dedicated to providing high-performance and easy-to-use distributed transaction services. Seata will provide users with AT, TCC, SAGA and XA transaction modes to create a one-stop distributed solution for users. This part is based on Seata's distributed transaction solution to explain in depth, and the content involved will be more detailed.

 

 

Four, summary

The popularity of microservices in the past two years has gradually shifted the architecture of many companies to microservices. However, to get started with microservices directly, it is necessary to go through practical exercises and continuous improvement to be able to do well in the work. There are a lot of relevant resources on the Internet, but most of them are scattered and unstructured, which is not conducive to systematic mastering. It is impossible to go deep into it step by step, and it is impossible to deeply grasp the actual integration of various components in the project.

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! Small partners in need only need:

Like the article, follow me and add the assistant directly to get it

 

Guess you like

Origin blog.csdn.net/weixin_48182198/article/details/109320225