摘要:
Hystrix基本使用 在讲Hystrix之前先了解一下服务雪崩: 多个微服务之间调用的时候,假设微服务A调用微服务B和微服务C,微服务B和微服务C又调用其他的微服务,这就是所谓的"扇出"。如果扇出的链路上某个微服务的调用响应时间过长或者不可用,对微服务A的调用就会占用越来越多的系统资源,进而引起系 阅读全文
摘要:
搭建eureka集群 搭建三个eureka-server服务,参考文档:https://www.cnblogs.com/Y-wee/p/14129138.html 修改eureka01配置文件 spring: application: name: eureka01 server: port: 700 阅读全文
摘要:
Spring Gateway基本使用 spring gateway官方文档:https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/ Springcloud Gateway使用了Webflux中的reactor- 阅读全文
摘要:
eureka-server入门案例 创建父工程 创建父工程,用于版本管理,修改pom文件:设置打包类型为pom、设置依赖管理(src文件可以删除) <packaging>pom</packaging> <properties> <project.build.sourceEncoding>UTF-8< 阅读全文