Open source SpringCloudAlibaba notes on Alibaba's intranet, making microservices play to perfection

Why does SpringCloud Alibaba appear?

The Spring Cloud Netflix project has entered maintenance mode, and Spring Cloud Netflix will no longer develop new components. We know that Spring Cloud version iterations are relatively fast, so there are many ISSUEs in Nakajima that are too late to fix and push another Release. Entering the maintenance mode means that it is known that there will be so many services and functions provided by Spring Cloud Netflix in the future, and there will be no more developmental components and functions. In the future, we will focus on maintenance and Merge branch Full Requset. In other words: SpringCloud's technology stack is no longer complete! At this point, it is necessary for us to find a new and complete technology stack.

What is Spring Cloud Alibaba?

The Spring-Cloud-Alibaba project consists of Alibaba's open source components and multiple Alibaba Cloud products, aiming to implement and expose well-known Spring framework patterns and abstractions, bringing Spring-Boot and Spring- Benefits of Cloud.

What can Spring Cloud Alibaba do?

  • Service current limiting and downgrading: By default, it supports

    the access of Servlet, Feign\ RestTemplate, Dubbo, and RocketMQ's current limiting and downgrading functions. You can modify the current limiting and downgrading bone amount through the console in real time at runtime, and also supports viewing the current limiting and downgrading Metrics control.
  • Service registration in discovery: Adapt to Spring Cloud service registration in discovery standard, integrate Ribbon support by default
  • Distributed configuration management: supports external configuration in distributed systems, and automatically refreshes when configuration changes.
  • Message-driven capability: Build message-driven capabilities for microservice applications based on Spring Cloud Stream.
  • Alibaba Cloud Object Storage: Massive, secure, low-cost, and highly reliable cloud storage services provided by Alibaba Cloud. Support any application, any time, any low profile storage and access to any type of data.
  • Distributed task scheduling: Provide second-level, accurate, highly reliable, and highly available timing (based on Cron expression) task scheduling services. At the same time, it provides a distributed task execution model, such as grid task, which supports the even distribution of massive tasks to all Workers (schedulerx-client) for execution.

Why learn Spring Cloud Alibaba

Spring Cloud Alibaba provides a one-stop solution for distributed application development. It contains all the components needed to develop distributed applications, making it easy to develop applications using Spring Cloud.

Using Spring Cloud Alibaba, just add some annotations and a small amount of configuration, you can connect Spring Cloud applications to Alibaba's distributed solutions, and use Alibaba middleware to build distributed application systems.

It is for these reasons that it is necessary for us to learn SpringCloud Alibaba technology.

So how to learn? The materials explained by SpringCloud Alibaba on the market are fragmented and not a complete system at all; when you go to the official website to learn, you have no way to start, and you are hit hard. Therefore, I will share my carefully collected "SpringCloudAlibaba Study Notes" here from entry to soul

This pen was written by the boss of Ali and only circulated internally. After several twists and turns, I finally got it. I have read a small part of it. It is really good and I specially share it here to give back to my friends. What exactly was written in this note? Let's take a look

Spring-Cloud-Alibaba 脑图

Table of contents:

1: Introduction to Microservices

  • System Architecture Evolution
  • Introduction to Microservice Architecture
  • Introduction to Spring Cloud Alibaba

Vertical Application Architecture

Common Solutions for Microservice Architecture

Two: Microservice environment construction

  • case preparation
  • engineering construction

Microservice environment construction

Three: Nacos DisCovery--Service Governance

  • Introduction to Service Governance
  • Introduction to nacos
  • nacos entry case
  • Implement load balancing for service calls
  • Service call based on Feign

Nacos Discovery--Service Governance

Customized implementation of load balancing

Four: Sentinel--service fault tolerance

  • Problems caused by high concurrency
  • service avalanche effect
  • Common Fault Tolerance Schemes
  • Getting started with Sentinel
  • Sentinel concepts and functions
  • Sentinel rules
  • Use of @SentinelResource
  • Persistence of Sentinel rules
  • Fegin integrates Sentinel

service avalanche effect

Implement current limiting on an interface

Five: Gateway--Service Gateway

  • Gateway Introduction
  • Introduction to Gateway
  • Gateway Getting Started Case
  • Gateway Core Architecture
  • Gateway Affirmation
  • Gateway filter
  • Gateway current limiting

Gateway--Service Gateway

global filter

Six: Sleuth--Link Tracking

  • Link Tracking Introduction
  • Getting Started with Sleuth
  • Integration of ZipKin
  • Zipkin data persistence

Sleuth--link tracking

Zipkin integration

Seven: Rocketmq--message-driven

  • Introduction to MQ
  • Getting started with RocketMQ
  • Sending and receiving of messages
  • the case
  • Send different types of messages
  • Details to pay attention to in message consumption

transactional message

Rocketmq--message-driven

Eight: SMS--short message service

  • SMS service introduction
  • Use of SMS service
  • Send SMS after order

SMS--Short Message Service

Nine: Nacos Config--service configuration

  • Service Configuration Center Introduction
  • Getting started with Nacos Config
  • Nacos Config in-depth
  • Several concepts of Nacos

Nacos Config--service configuration

Ten: Seata--Distributed Transactions

  • Distributed Transaction Basics
  • Distributed transaction solution
  • Introduction
  • Seata implements distributed transaction control

Distributed Transaction Basics

Seata implements distributed transaction control

Extended chapter: Dubbo-rpc communication

  • dubbo introduction
  • Dubbo implements service calls

Guess you like

Origin blog.csdn.net/qq13321123/article/details/132229254