The official website

Cloud. Spring. IO/spring – clou…

define

Spring Cloud provides developers with tools to quickly build common patterns (such as configuration management, service discovery, circuit breakers, intelligent routing, microagents, control buses) in distributed systems. The coordination of distributed systems leads to boilerplate patterns, and using Spring Cloud developers can quickly build services and applications that implement these patterns.

Easy to define

Spring Cloud is a multi-project development toolset that brings together many open source frameworks. It takes advantage of the convenience of Spring Boot development to implement many functions (such as service registration, service registration discovery, load balancing, etc.). In the process of integration, Spring Cloud is mainly the encapsulation of Open source components of Netflix. The advent of Spring Cloud has really simplified distributed architecture development.

Problems to be solved in microservices architecture

  1. How to resolve logging services, monitoring services, service registration and discovery components?
  2. How do I invoke a service using Http Rest? How to achieve load balancing when invoking services?
  3. How to solve the server avalanche effect?
  4. How do I manage service configuration files in a unified manner?
  5. How to resolve the port inconsistency of each microservice?

Core components

  1. Service registry components: eurekaserver, consul, nacos
  2. Service load balancing and service invocation components: Rabbion, OpenFeign
  3. Service circuit breakers and service monitoring components: Hystrix, Hystrix Dashboard
  4. Unified configuration center component: Config
  5. Service gateway components: Zuul, Gateway
  6. Message bus component: BUS

Core architecture