Spring Cloud One Architecture

1 What technical architecture does Spring Cloud include?

  • Service registration and discovery
  • Service call
  • Service fusing
  • Load balancing
  • Service degradation
  • Service message queue
  • Configuration Center Management
  • Service gateway
  • Service monitoring
  • Full link tracking
  • Automated planning and deployment
  • Service timing task scheduling operation

2 Introduction to Spring Cloud

  • What is Spring Cloud?
    SpringCloud = a one-stop solution for distributed microservice architecture. It is a collection of multiple microservice architecture landing technologies, commonly known as the microservice family bucket.
  • How many technologies does Spring Cloud contain?
    Insert picture description here

3 Spring Boot and Spring Cloud version selection

From the official website above, Boot official strongly recommends that you upgrade to version 2.X or higher

Spring Cloud uses the name of the London Underground station in the UK to name it, and releases the iterative version in the form of the letter AZ of the station name in turn. SpringCloud is a comprehensive project composed of many sub-projects, and each sub-project has a different release rhythm. In order to manage the version dependency between Spring Cloud and each sub-project, a list is released, which includes the sub-project version corresponding to a certain Spring Cloud version. In order to avoid confusion between the SpringCloud version number and the sub-project version number, == SpringCloud version uses names instead of version numbers. The names of these versions use the names of London Underground stations, corresponding to the time sequence of the versions according to the alphabetical order. == For example, Angel is the first version and Brixton is the second version. When the release content of Spring Cloud reaches a critical point or a major bug is resolved, a "service releases" version, referred to as the SRX version, will be released. For example, Greenwich.SR2 is the second SRX version of the Greenwich version released by Spring Cloud.

3.1 The dependency between Spring Cloud and Spring Boot

URL

Insert picture description here
More detailed dependency information

3.2 The version of the technology used in this study

  • Spring Cloud Hoxton.SR1
  • Spring Boot 2.2.2.RELEASE
  • Spring Cloud Alibaba 2.1.0.2RELEASE
  • Java Java8
  • Maven 3.5 and above
  • MySQL 5.7 and above

Learning technical route:

  • Service Registry
    • Eureka (not updating)
    • Zookeper
    • Consul
    • Nacos
  • Service call
    • Ribbon
    • LoadBalance
  • Service call 2
    • Feign (not updating)
    • OpenFeign
  • Service degradation
    • Hystrix (not updating)
    • resilience4j (used more abroad)
    • sentienl (mostly used in China)
  • Service gateway
    • Zuul (not updating)
    • gateway
  • Service configuration
    • Config (not updating)
    • Nacos
  • Service bus
    • Bus (not updating)
    • Nacos

Guess you like

Origin blog.csdn.net/weixin_44533129/article/details/112388326