I. Why use Spring Cloud Alibaba

Many people may ask why spring Cloud Alibaba is used when spring Cloud is a framework for microservices. The most important reason is that almost all of the components in Spring Cloud use Netflix products and are packaged on top of them. However, Eureka, the service discovery component of Netflix, has stopped updating, and our company found a small Bug in it when using it. Many of the other components are expected to end maintenance next year. Therefore, there is an urgent need for some alternative products, namely Spring Cloud Alibaba, which is currently in a booming state.

Xmind xMIND xMIND xMIND XMIND XMIND XMIND XMIND XMIND The blue area can obtain the summary of Spring Cloud and Alibaba knowledge points brain map, note: CSDN!!

It’s too big for all of us. Here are some tips for each topic, including notes, study links, video tutorials, etc.

The SpringCloud service registry

Spring Cloud Ribbon load balancing

The Ribbon is an open source project released by Netflix. Its main function is to provide complex client-side hum algorithms and service calls. The Ribbon client component provides a comprehensive set of configuration options such as timeout and retry.

SpringCloud OpenFeign service invocation

Feign is a declarative Web service client. It makes writing Web service clients much easier. To use Feign, create an interface and annotate it.

SpringCloud Hystrix service degradation/meltdown/quarantine

Hystrix is an open source library for handling latency and fault tolerance in distributed systems, where many inevitable calls fail, such as timeouts, one session, etc. Hystrix is able to improve the resiliency of distributed systems by ensuring that the entire service cannot be inverted in the event of a dependency failure, avoiding cascading failures.

Spring Cloud Gateway Service Gateway

SpringCloud GateWay is a new Project of SpringCloud, which is developed based on Spring 5.0 + Spring Boot 2.0 and Project Reactor technology. It aims to provide a unified API route management approach for microservices architecture

SpringCloud Config service configuration

SpringCloud Config provides centralized external configuration support for microservices in the microservices architecture. The configuration server provides a centralized external configuration for all environments of various microservices applications

SpringCloud Bus Message Bus

Apache Doubbo service registry

SpringCloud Sleuth link tracing

Spring Cloud Stream message driver

Spring Cloud Stream provides a personalized automated configuration implementation for some vendors’ messaging middleware, referencing three core concepts of publish-subscribe, consumer group, and partitioning.

SpringCloud Alibaba Seata distributed transactions

SpringCloud Alibaba Sentinel realizes fusing and current limiting

The first step to understand Sentinel is to overcome the indicator data statistics based on sliding window and the service degradation filter chain based on the chain of responsibility mode. After mastering these two points, the whole Sentinel framework source code will be easy to understand. The cold start current limiting effect algorithm and uniform speed current limiting effect algorithm implemented by Sentinel are the most difficult part of the current limiting module to understand.

SpringCloud AlibbaNacos service registry

Nacos is Alibaba’s open source solution for distributed service governance and distributed configuration, which can help businesses build, deliver and manage microservice platforms more agile and easily. Nacos is the service infrastructure for building modern “service” centric application architectures (e.g., microservices paradigm, cloud native paradigm).

It’s too big for all of us. Here are some tips for each topic, including notes, study links, video tutorials, etc.

conclusion

No matter learning any technology, there should be a systematic learning! Why must we learn systematically? Whether you do IT or not, there is a need for systematic learning. Systematic learning of a knowledge point can make us consider problems more comprehensively, which is also a characteristic that a mature engineer should have. Fragmented learning is easy to make us draw some one-sided and even wrong conclusions.

However, systematic learning requires a lot of time and energy, and some people may feel that it is not worth it, so they give up systematic learning, instead believe in copying and pasting the seven-word truth, and plunge into CURD’s misery.