Spring Cloud Alibaba learning documents, really fairy notes, worthy of Ali

Foreword:

Alibaba, as the top of domestic Internet companies, is regarded as the industry benchmark, and programmers with Alibaba background are also more authoritative. As a programmer, everyone knows how high Ali's requirements are for employees, and the technical level of technical personnel is beyond the reach. Therefore, much of the experience of programmers from major manufacturers is also worthy of our reference and learning. To a certain extent, it can indeed help us "take shortcuts".

Spring Cloud Alibaba is actually Ali's microservice solution. It is Alibaba's own microservice practice and open source microservice family bucket, which is incubated in the Spring Cloud project and becomes a subproject of Spring Cloud. Many components in the first-generation Spring Cloud standard have been discontinued, such as Eureak, Zuul, etc. Therefore, Spring Cloud Alibaba is likely to become the second-generation standard implementation of Spring Cloud, so many components have gradually begun to be used in the industry, and there have been many successful cases. It is worth mentioning that Spring Cloud Alibaba is very compatible with Dubbo, and also provides some powerful functions, such as Sentinel flow control, Seata distributed transaction, Nacos service discovery and registration, and so on.

But now the information for learning Spring Cloud Alibab online is either incomplete or very few, let alone complete, so what I will share for free today is the learning document of Spring Cloud Alibaba produced by **Alibaba, with rich pictures and texts, tailor-made, very suitable Watch it with friends who learn Spring Cloud Alibaba again! **Let’s take a look at this Spring Cloud Alibaba learning document!

Due to space issues, in order not to affect reading, this complete Spring Cloud Alibaba learning document has been sorted out, and friends in need can click here to get it.

One, the concept of microservices

With the development of the Internet, the scale of website applications is also expanding, leading to continuous changes in the system architecture. From the early days of the Internet to the present, the system architecture has generally gone through the following processes: Monolithic application architecture—>vertical application architecture—>distributed architecture—>SOA architecture—>microservice architecture, and of course the quietly emerging Service Mesh (Service Mesh) Grid). Next, let's take a look at what each system architecture looks like, and what advantages and disadvantages each has.

Spring Cloud Alibaba learning documents, worthy of Ali

Second, the establishment of a microservice environment

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

3. Nacos Discovery-Service Governance

What is service governance

Service governance is the core and basic module in the microservice architecture. Used to realize the automatic registration and discovery of each microservice.

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

Four, Sentinel-service fault tolerance

In the microservice architecture, we split the business into individual services. Services and services can call each other, but due to network reasons or their own reasons, the service cannot guarantee 100% availability of the service. If there is a problem with a single service , Invoking this service will cause network delays. At this time, if there is a large influx of network, it will form a stack of tasks, which will eventually lead to service paralysis.

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

Chapter 5 Gateway—Service Gateway

In the microservice architecture, a system will be split into many microservices. So how do you call so many microservices as a client? If there is no gateway, we can only record the address of each microservice on the client side, and then call them separately.

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

Six, Sleuth-link tracking

In the micro-service construction of large-scale systems, a system is split into many modules. These modules are responsible for different functions, combined into a system, and ultimately can provide a wealth of functions. In this architecture, a request often involves multiple services. Internet applications are built on different sets of software modules. These software modules may be developed by different teams, may be implemented in different programming languages, may be distributed on thousands of servers, and span multiple different data. Center, which means that there will be some problems in this form of architecture

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

Seven, Rocketmq-message driven

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

8. SMS—Short Message Service and Nacos Config—Service Configuration

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

Nine, Seata-distributed transactions

A transaction refers to an operating unit. All operations in this operating unit must ultimately maintain consistent behavior, either all operations are successful or all operations are cancelled. Simply put, transactions provide a "do nothing, or do a full set" mechanism.

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

Spring Cloud Alibaba learning documents, worthy of Ali

Due to space issues, in order not to affect reading, this complete Spring Cloud Alibaba learning document has been sorted out, and friends in need can click here to get it.

Guess you like

Origin blog.csdn.net/m0_46657043/article/details/109197466