![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring cloud
qq_2771109447
gitup地址:https://github.com/2771109447?tab=repositories
展开
-
为什么使用微服务
目录 单体的优缺点 1,优点 2,缺点 1. 复杂性高 2.交付效率低 3.伸缩性(scalable)差 4. 可靠性差 5.阻碍技术创新 2,微服务的定义 3,微服务的优点 1.服务拆分 2.数据一致性 3.服务通信 4.服务网关 6.可靠性 单体的优缺点 单体应用就是将应用程序的所有功能都打包成一个独立的单元,最终以一个WAR包或JAR包存在,没有外部的...原创 2019-08-01 21:56:36 · 754 阅读 · 0 评论 -
spring cloud eureka开发时期的服务剔除设置
Eureka 开发时快速剔除失效服务 服务端配置: # 关闭保护机制 eureka.server.enable-self-preservation=false #剔除失效服务间隔(默认60s=60000ms) eureka.server.eviction-interval-timer-in-ms=2000 客户端配置 #Eureka客户端向服务端发送心跳的时间间隔,...翻译 2019-08-01 23:01:42 · 1273 阅读 · 0 评论