Springcloud video tutorial (essential version) directory
Essence version: extremely concise, no nonsense
Video address: click to enter the study
The first distributed system and SpringCloud
§1: Introduction to SpringCloud and distributed basic framework
Question 1: What is a distributed microservice system?
Question 2: Which components are probably involved?
§2: Why do many people do not understand the principle of RPC?
Question 1: The importance of the core knowledge of SpringCloud and Nginx, does it require core knowledge?
Question 2: Why are the core principles of SpringCloud and Nginx so important ?
§3: How to choose the version of Spring Cloud
Question 1: What is the choice posture of the version starting with Spring Cloud and spring boot?
Question 2: What is the version selection posture of open source software?
§4: Environment and tool preparation for distributed development of microservices
Question 1: Why use linux virtual machine environment?
Question 2: Why are shell scripts so important?
§5: Introduction to Spring Cloud Family Bucket
Question 1: What are the components?
Question 2: Have a relationship with Netflix?
§6: Microservice development scaffolding crazy-springcloud
Question 1: What are the basic services and public components?
Question 2: Subcontracting specification?
Chapter 2 Eureka Service Registration and Discovery
§1: The principle of service registration and discovery
Question 1: What is service registration and discovery? Why do you need service registration and discovery?
Question 2: What are the roles of service registration and discovery? What is the relationship between these roles?
§2: Introduction to Eureka Server Registration Center
Question 1: The relationship between the Eureka Server registry and SpringCloud family bucket?
Question 2: How to start an own Eureka Server instance?
§3: How to configure the Eureka Server registry
Question 1: Why is it said that Eureka Server has three responsibilities? What are the specific three responsibilities?
Question 2: When Eureka Server acts as a registry, what configuration items are included?
Question 3: When Eureka Server acts as a service provider, what configuration items are included?
§4: How to build Eureka cluster to achieve HA?
Question 1: Why does Eureka Server need to assume the role of Eureka Client as a registration center?
Question 2: How to build an Eureka cluster to ensure the high availability HA of the registry?
Question 3: Eureka Client role, what are the specific configuration items?
§5: Eureka self-protection mode and fast removal of invalid Provider
Question 1: What is the Eureka self-protection model? Why do I need to turn off the self-protection mode during development?
Question 2: How to quickly eliminate invalid Providers?
Chapter 3 Development and Release of Microservices
§1: Use SpringBoot to develop Provider microservices
Question 1: What are the steps required to develop a microservice (Provider microservice) using SpringBoot?
Question 2: How to view Provider information on Eureka?
Question 3: What configuration is involved in an ordinary Provider microservice?
§2: Heartbeat configuration and event monitoring of microservice providers
Question 1: What is a heartbeat, and how to configure a reasonable heartbeat for Provider microservices?
Question 2: How to monitor the events of Provider on Eureka?
§3: Microservice Provider health status and Actuator component
Question 1: How to check the health status of the microservice provider instance through Eureka?
Question 2: How to use the Actuator component to effectively monitor the microservice provider?
§4: Microservice publishing example
Question 1: What is a service and what is a module?
Question 2: How to package a microservice?
Question 3: How to publish a microservice using a shell script?
Chapter 4 SpringCloud Config Distributed Configuration Center
§1: Overview of Distributed Config Configuration Center
Question 1: Why do you need a configuration center? What roles does the SpringCloud Config configuration center include?
Question 2: How to start an own SpringCloud Config configuration center instance?
§2: How does the microservice provider obtain configuration information from the Config center instance
Question 1: How does the service provider obtain configuration information from the Config configuration center?
Question 2: Why does the configuration of the Client component need to be placed in the bootstrap.properties file, but not in the application file?
Chapter 5 RPC remote calls of microservices
§1: Introduction to RESTfull style
Question: Why do I need a RESTfull style API? What are the four basic operations of REST?
§2: Use Swagger UI to generate API documentation
Question: How to use Swagger UI to aggregate application REST API interfaces?
§3: Use RestTemplate to make RPC remote calls
Question 1: What is RPC remote call?
Question 2: How to make remote calls through the built-in RestTemplate component of SpringBoot?
§4: Use Feign to make RPC remote calls
Question 1: RestTemplate is not commonly used, but Feign is commonly used. Why is RestTemplate not commonly used?
Question 2: How to make remote calls through Feign?
Question 3: What is the relationship between Feign components and RestTemplate components?
Chapter 6 Nacos Registration and Configuration Center
Supporting content for this article
The content of the following video comes from the blog post: nacos actual combat (the most complete in history)
§1: Installation and use of Nacos Server
Question 1: There is already Eureka, why do I need to use Nacos instead of Eureka?
Question 2: How to install a Nacos server? How to use Nacos console?
Question 3: How to build a Nacos cluster to ensure the high availability (HA) of the registry?
Question 4: Where does the configuration data of Nacos Server exist?
§2: Actual combat: use Nacos for service registration and discovery
Question 1: How to use the Nacos Client component to complete its registration on the microservice provider instance?
Question 2: On the microservice provider instance, what are the specific configuration items of the Nacos Client component?
§3: Actual combat: Use Nacos as a distributed configuration center
Question 1: How to add or modify the required configuration files on the Nacos console?
Question 2: What are the steps for how to use the Nacos Config Client component on the microservice provider instance?
Question 3: How does the data-id option of the Nacos Config Client component correspond to the server configuration file?
Part 7 Use SpringBootAdmin to monitor microservices
§1: SpringBootAdmin monitors microservices
Question 1: What is SpringBootAdmin? Why use SpringBootAdmin to monitor microservices?
Question 2: How does SpringBootAdmin monitor microservices?
§2: SpringBootAdmin view microservice log records
Question 1: What is the convenience of using SpringBootAdmin to view the log records of microservices?
Question 2: How to use SpringBootAdmin to view the logs of microservices in a unified manner?
Chapter 8 Feign+Ribbon to achieve client load balancing
§1: Basic knowledge of Spring Cloud Ribbon
Question 1: What is Ribbon? Why do I need to use Ribbon components?
Question 2: Experiment: How to view the operation process of Ribbon for load balancing by executing RPC remote calls?
§2: Load balancing strategy of SpringCloud Ribbon
Question 1: What functions does the load balancer interface ILoadBalance include?
Question 2: What are the load balancing strategies of SpringCloud Ribbon? Which implementation class does it correspond to?
Question 2: How to configure Ribbon's load balancing strategy through configuration files?
§3: Common option configuration of Spring Cloud Ribbon
Question 1: How to configure the connection timeout duration of Ribbon?
Question 2: How to configure the number of retries for Ribbon?
Question 3: How to configure Ribbon's load balancing strategy through code? How to customize Feign through code?
Part 9 Hystrix protects microservices
§1: Basic knowledge of Hystrix failure rollback
Question 1: What is Hystrix? How to use Hystrix to fail back?
Question 2: How to use a Fallback fallback processing class to complete a failed fallback?
Question 3: How to use the factory class to complete the failure rollback?
§2: Service avalanche effect
Question 1: What is the service avalanche effect?
Question 2: What is the cause of the service avalanche effect?
Question 3: How to avoid the avalanche effect?
§3: Hystrix fuse (circuit breaker)
Question 1: What is a fuse? How to turn on the fuse in SpringCloud?
Question 2: What are the three states of the fuse? How to switch between the three states?
Question 3: How to configure the parameters of the fuse?
Chapter 10 Zuul Microservice Gateway
§1: Basic knowledge of microservice gateway
Question 1: What is a gateway? Why do I need a gateway?
Question 2: What are the main open source components of the gateway?
Question 3: What are the functions of the gateway?
§2: How to create a Zuul gateway service?
Question 1: How to create a Zuul gateway service?
Question 2: How does Zuul gateway integrate with Eureka?
§3: Zuul routing rule configuration
Question 1: How to route to direct URL
Question 2: How to route to the microservice provider
§4: Zuul gateway integrates Swagger UI
Question 1: Why does the gateway need to integrate Swagger UI?
Question 2: How to integrate Swagger UI?
§5: Filter development of Zuul gateway
Question 1: What is Zuul filter? What are the types?
Question 2: What are the steps in Zuul's request processing process?
Question 3: How to implement a Zuul filter?
Chapter 11 Sentinel Microservice Protection
Supporting content for this article
The content of the following video comes from the blog post: sentinel (the most comprehensive + introductory tutorial in history)
§1. What is Sentinel
Question 1: Sentinel main features
Question 2: Management console in Sentinel
Question 3: The client can access the console
Question 4: The difference between Sentinel and Hystrix
§2, sentinel fuse downgrade
Question 1: What is a failback? What is fuse downgrade?
Question 2: Effect experience: fuse downgrade experiment
Question 3: Fuse degraded code implementation
Question 4: The core parameters of fusing downgrade
§3, sentinel current limit: direct failure mode
Question 1: Effect experience: direct failure mode current limit
Question 2: Direct failure mode current limiting code implementation
Question 3: Direct failure mode current limiting core parameters
§4, sentinel current limit: association mode
Question 1: Effect experience: current limitation of the association mode
Question 2: Implementation of the current-limiting code in the associated mode
Question 3: Core parameters of current limiting in correlation mode
§5, sentinel current limit: hot parameter mode
Question 1: Experience of current limiting effect in hot parameter mode
Question 2: Hotspot parameter mode current limiting code implementation
Question 3: Hotspot parameter mode current limiting core parameters
Chapter 12 SpringCloud Gatway Microservice Gateway
Supporting content for this article
The content of the following video comes from the blog post: SpringCloud gateway (the most complete in history)
§1: How to create a SpringCloud Gatway gateway service?
Question 1: What is Gatway? How to create a Gateway service?
Question 2: How does the Gatway gateway integrate with Eureka and Nacos?
§2: Gatway routing rule configuration
Question 1: How to route to direct URL
Question 2: How to route to the microservice provider
§3: Gatway gateway integrates Swagger UI
Question 1: Why does the gateway need to integrate Swagger UI?
Question 2: How to integrate Swagger UI?
§4: Gatway gateway filter development
Question 1: What is the filter type of the Gateway? What is the order of execution of Gatway gateway filters?
Question 3: How to develop a global filter for a Gatway gateway? What is the difference between local filters ?
Question 5: What is reactive programming?
§5: Gatway + Sentinel 限流
Question 1: How to integrate Gatway + Sentinel?
Question 2: How to define a Sentinel current limiting resource?
Question 3: How to define a Sentinel current limiting rule?
Question 4: Current limiting demonstration