Micro-Service development Framework-spring Cloud2.1. Introduction to Spring Cloud and its features:Spring Cloud provides developers with the tools to quickly build some common patterns in distributed systems(e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxies, control bus). Distributed Systemshas led to a boilerplate pattern, using spring cloud developers to quickly support the implementation of these patterns of serviceServices and applications. they will run well in any distributed environment, including the developer's own laptop powerThe brain, bare metal data centers, and hosted platforms like Cloud Foundry. Characteristics:Spring Cloud is focused on providing a good out-of-the-box experience with typical use cases and extensibility mechanisms covered.
- Distributed/versioned Configuration
- Service Registration and Discovery
- Routing
- Service-to-service Call
- Load Balancing
- Circuit Breaker
- Distributed Message Delivery
2.2. Introduction to the release of Spring Cloudbecause spring cloud is different from other standalone projects, it has large projects for many sub-projects. So it is the version name + version number (such as ANGEL.SR6).
version name: London's subway name
version number: SR (Service releases) is fixed, probably meaning stable version. There will be an incremented number in the back.
so BRIXTON.SR5 is the 5th release version of Brixton. Differences in version (contains different sub-items: )
The composition of the 2.3Spring Cloud spring Clod contains several sub-projects, as described below (Spring cloud has been updated, here is only part, write more is not necessarily understand, so now just a summary, practice to know) Spring Cloud Config The Configuration management tool, which supports the use of Git to store configuration content, enables the use of external storage for application configuration, and supports client configuration information refresh, encryption/encryption configuration content, and so on. The Spring Cloud Netflix Core component (relative to the domestic Duboo) organizes multiple Netflixoss open source packages.
- Eureka service governance components, including the service registry, the implementation of the service registration and discovery mechanism. (Service governance, service Registration/discovery)
- Hystrix Fault-tolerant management is gradually implemented to implement circuit breaker mode, which helps to delay and provide a strong fault tolerance for failures since the service. (Fuse, circuit breaker, fault tolerant)
- Ribbon client load both and service invocation component (client load)
- Feigin Declarative Service invocation component for ribbon and hystrix (declarative service invocation)
- Zuul Gateway component, provides intelligent routing, access filtering function
- Archaius External Configuration Components
Spring Cloud Bus event, message bus (message bus) Spring Cloud Cluster for zookeeper, Redis, Hazelcast, Consul, election algorithms, and common state patterns spring cloud Cloudfoundry and pivatal Cloudfoundry integration support Spring Cloud Consul Service discovery and Configuration management Tools Spring Cloud Stream enables consumer microservices through Redis, Rabbit, or Kafka You can send and receive messages through a simple declarative model Spring Cloud AWS is designed to simplify the components of consolidating Amazon Web Service srping Cloud Security Toolkit, which provides repeaters for OAUTH2 client requests in the Zuul agent. Spring Cloud Sleuth, a distributed tracking implementation of Spring cloud operations, integrates seamlessly with zipkinspring Cloud Zookeeper to Zookeeper service discovery and Configuration management components Spring cloud Starers Spring Cloud's basic component, which is based on the spring boot style project's underlying dependency module the Spring Cloud CLI is used to quickly create a spring cloud app's spring Boot CLI plugin in Groovy
2. Micro-Service Development Framework--spring Cloud