Spring Cloud Skill Tree#
spring-cloud#
Eureka#
Used for service registration and discovery
- server: server-side, used to register with other services
- client: various services
- consumer: a type of client that is requested, obtains data from other services through the server
- ...
Feign#
Used to request data from other services, provides annotations and interfaces to write restful
code, simplifying development, comes with Ribbon
- Ribbon: used for requesting and load balancing
- Restful Request:
restful
request - LoadBalanced: load balancing, selects one from multiple client services
- Hystrix: circuit breaker, prevents line blocking when the client is unavailable
Zuul#
The main functions are routing forwarding and filters. Combined with Ribbon to achieve load balancing
Currently not supported in spring boot 2.1.0
[20181109]
The functionality of this will be replaced by SpringCloud GateWay in the future