
spring cloud
文章平均质量分 77
spring cloud 基础教程学习
迅捷的软件产品制作专家
软件产品制作专家
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Spring cloud alibaba 学习指南
Spring cloud alibaba非常常见的需求。原创 2022-10-20 21:45:18 · 349 阅读 · 0 评论 -
SpringCloud使用Eureka注册中心和Ribbon负载均衡
在之前的工程上创建Eureka模块添加依赖<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi...原创 2020-02-13 10:34:53 · 347 阅读 · 0 评论 -
Spring Boot集成Spring Cloud实战
Spring Boot集成Spring Cloud实战目录概述架构特性设计思路实现思路分析1.核心逻辑2。主控制类相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.Modesty is not false, solid is not naive, treacherous but not deceitful, stay wi原创 2021-08-19 23:08:03 · 347 阅读 · 0 评论 -
Sleuth+Zipkin+rabbitmq+mysql 整合
Sleuth与Spring Cloud快速整合 目录概述架构特性设计思路实现思路分析1.核心逻辑2。主控制类相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读)LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.Modesty is not false, solid is not naive, treacherous but not deceitful, stay wi原创 2021-08-19 01:28:01 · 178 阅读 · 0 评论 -
Sleuth与Spring Cloud快速整合
Sleuth与Spring Cloud快速整合 目录概述架构特性设计思路实现思路分析1.核心逻辑2。主控制类相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读)LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.Modesty is not false, solid is not naive, treacherous but not deceitful, stay wi原创 2021-08-19 01:10:52 · 237 阅读 · 0 评论 -
服务链路追踪
zuul的使用,过滤规则配置 目录概述架构特性设计思路实现思路分析1.核心逻辑2。主控制类相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good peop原创 2021-08-19 01:06:38 · 206 阅读 · 0 评论 -
Sleuth链路跟踪实战
系列文章目录文章目录系列文章目录前言一、Sleuth是什么?二、Sleuth链路跟踪实战1.索引库总结前言一、Sleuth是什么?二、Sleuth链路跟踪实战1.索引库项目Value服务链路追踪应用场景和相关概念$1600Sleuth与Spring Cloud快速整合$12Sleuth+Zipkin+rabbitmq+mysql 整合$1总结这里主要讲述了一下Sleuth集成的相关文件。...原创 2021-08-19 00:46:07 · 130 阅读 · 0 评论 -
Zuul源码分析
zuul的使用,过滤规则配置 目录概述架构特性设计思路实现思路分析1.核心逻辑2。主控制类相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good peop原创 2021-08-19 00:36:20 · 677 阅读 · 0 评论 -
zuul的使用,过滤规则配置
zuul的使用,过滤规则配置 目录概述架构特性设计思路实现思路分析1.核心逻辑2。主控制类生命周期自定义Filter相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.Modesty is not false, solid is not naive, treacherous but not deceitful, stay w原创 2021-08-19 00:13:58 · 523 阅读 · 0 评论 -
zuul的使用,过滤规则配置
zuul的使用,过滤规则配置 目录概述架构特性设计思路实现思路分析1.创建项目2.家配置信息3.配置启动程序集成 Eureka相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.Modesty is not false, solid is not naive, treacherous but not deceitful, s原创 2021-08-18 23:42:02 · 180 阅读 · 0 评论 -
Zuul使用及其实现原理分析
系列文章目录文章目录系列文章目录前言一、Zuul是什么?二、Zuul使用及其实现原理分析1.索引库总结前言一、Zuul是什么?所有从设备或网站来的请求都会经过Zuul到达后端的Netflix应用程序。作为一个边界性质的应用程序,Zuul提供了动态路由、监控、弹性负载和安全功能。Zuul底层利用各种filter实现如下功能:认证和安全 识别每个需要认证的资源,拒绝不符合要求的请求。性能监测 在服务边界追踪并统计数据,提供精确的生产视图。动态路由 根据需要将请求动态路由到后端集群。动态路由原创 2021-08-18 23:25:32 · 441 阅读 · 0 评论 -
Spring Cloud Config Server 源码分析
Spring Cloud Config Server 源码分析目录概述架构特性设计思路实现思路分析从@EnableConfigServer开始相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, s原创 2021-08-18 00:52:15 · 202 阅读 · 0 评论 -
Spring Cloud Config使用详解
Spring Cloud Config使用详解目录概述架构特性设计思路实现思路分析Spring Cloud Bus 使用 详解相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with原创 2021-08-18 00:45:48 · 324 阅读 · 0 评论 -
Config分布式配置中心详解
系列文章目录文章目录系列文章目录前言一、Config分布式配置中心详解?二、Hystrix 使用及其内核原理剖析1.索引库总结前言一、Config分布式配置中心详解?配置文件是我们再熟悉不过的了,尤其是 Spring Boot 项目,除了引入相应的 maven 包之外,剩下的工作就是完善配置文件了,例如 mysql、redis 、security 相关的配置。除了项目运行的基础配置之外,还有一些配置是与我们业务有关系的,比如说七牛存储、短信相关、邮件相关,或者一些业务上的开关。对于一些简单的原创 2021-08-18 00:26:45 · 264 阅读 · 0 评论 -
Hystrix源码分析
Hystrix源码分析目录概述架构特性设计思路实现思路分析构建GenericCommand的过程相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, a原创 2021-08-18 00:19:36 · 180 阅读 · 0 评论 -
Hystrix监控面板与监控数据聚合
Hystrix监控面板与监控数据聚合目录概述架构特性设计思路实现思路分析相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away原创 2021-08-17 01:38:59 · 207 阅读 · 0 评论 -
feign+hystrix整合
feign+hystrix整合目录概述架构特性设计思路实现思路分析相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away fr原创 2021-08-17 00:50:50 · 358 阅读 · 0 评论 -
熔断器跳闸机制分析,内部调用逻辑剖析
Hystrix实现自定义接口降级目录概述架构特性设计思路实现思路分析相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away f原创 2021-08-17 00:16:36 · 251 阅读 · 0 评论 -
Hystrix实现自定义接口降级
Hystrix实现自定义接口降级目录概述架构特性设计思路实现思路分析相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away f原创 2021-08-16 23:53:37 · 388 阅读 · 0 评论 -
Hystrix服务限流,降级,熔断实战
hystrix 服务降级,熔断,限流目录概述架构特性设计思路实现思路分析1.加入POM文件2.yml:拓展实现yml:相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with goo原创 2021-08-16 00:04:46 · 605 阅读 · 0 评论 -
Hystrix 使用及其内核原理剖析
系列文章目录文章目录系列文章目录前言一、Hystrix是什么?二、Hystrix 使用及其内核原理剖析1.索引库总结前言一、Hystrix是什么?Hystrix是Netflix开源的一款容错框架,同样具有自我保护能力。为了实现容错和自我保护,下面我们看看Hystrix如何设计和实现的。Hystrix设计目标:对来自依赖的延迟和故障进行防护和控制——这些依赖通常都是通过网络访问的阻止故障的连锁反应快速失败并迅速恢复回退并优雅降级提供近实时的监控与告警Hystrix遵循的设计原则:原创 2021-08-15 18:52:52 · 144 阅读 · 0 评论 -
是如何整合Ribbon实现负载均衡的
是如何整合Ribbon实现负载均衡的目录概述架构特性设计思路实现思路分析拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay原创 2021-08-15 18:39:13 · 192 阅读 · 0 评论 -
Feign和Ribbon的区别,Feign的使用和相关配置
Feign和Ribbon的区别,Feign的使用和相关配置目录概述架构特性设计思路实现思路分析Ribbon拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good原创 2021-08-15 14:51:48 · 775 阅读 · 0 评论 -
理解LoadBalancerInterceptor、ILoadBalancer、IRule、IPing在Ribbon中的作用
Ribbon调用原理分析,负载均衡策略以及自定义负载算法目录概述架构特性设计思路实现思路分析LoadBalancerInterceptor拓展实现单独使用Ribbon自定义负载均衡算法Ribbon-LoadBalancerClient源码分析getServer函数源码分析探究Ribbon的IRule和IPing相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot原创 2021-08-15 09:42:52 · 749 阅读 · 0 评论 -
Ribbon调用原理分析,负载均衡策略以及自定义负载算法
Ribbon调用原理分析,负载均衡策略以及自定义负载算法目录概述架构特性设计思路实现思路分析Ribbon负载均衡策略拓展实现单独使用Ribbon自定义负载均衡算法注入bean添加ribbon注解相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treach原创 2021-08-15 09:14:19 · 221 阅读 · 0 评论 -
Ribbon的负载均衡策略及原理
Ribbon的负载均衡策略及原理目录概述架构特性设计思路实现思路分析拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay aw原创 2021-08-15 08:58:39 · 300 阅读 · 0 评论 -
客户端之服务续约和注册
客户端之服务续约和注册目录概述架构特性设计思路实现思路分析拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away fr原创 2021-08-15 07:44:04 · 190 阅读 · 0 评论 -
Eureka Client源码分析_Eureka Client是如何从Server端拉取注册列表信息的?是全量更新还是增量更新?
Eureka Client是如何从Server端拉取注册列表信息目录概述架构特性设计思路实现思路分析2、Eureka Server 增量拉取3、注册中心处理增量拉取4.Eureka Client 处理增量数据拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not na原创 2021-08-15 07:30:50 · 334 阅读 · 0 评论 -
服务同步和服务剔除源码分析
服务同步和服务剔除源码分析目录概述架构特性设计思路实现思路分析拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away原创 2021-08-14 17:25:46 · 97 阅读 · 0 评论 -
Eureka Server端实例存储结构
Eureka Server端实例存储结构目录概述架构特性设计思路实现思路分析拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and sta原创 2021-08-14 10:50:28 · 494 阅读 · 0 评论 -
Eureka架构及其核心功能分析_Server端多级缓存机制分析
Server端多级缓存机制分析目录概述架构特性设计思路实现思路分析拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay awa原创 2021-08-14 09:19:53 · 223 阅读 · 0 评论 -
RestTemplate服务间调用实现以及存在的问题,注册中心演进
RestTemplate服务间调用实现以及存在的问题,注册中心演进目录概述问题设计思路实现思路分析拓展实现相关工具如下:实验效果:(解决思路)分析:小结:参考资料和推荐阅读LD is tigger forever,CG are not brothers forever, throw the pot and shine.Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good peop原创 2021-08-14 08:18:50 · 459 阅读 · 0 评论 -
Eureka服务注册与发现及其源码分析
系列文章目录eureke 服务注册中心是常见的注册中心,那么我们主要从下面几方面来分析一下:文章目录系列文章目录前言一、注册中心是什么?二、Eureka服务注册与发现及其源码分析1.索引库总结前言一、注册中心是什么?注册中心的是服务注册的地方二、Eureka服务注册与发现及其源码分析1.索引库项目ValueRestTemplate服务间调用实现以及存在的问题,注册中心演进$1600Eureka架构及其核心功能分析$12Eureka Server源码原创 2021-08-14 08:02:17 · 365 阅读 · 0 评论 -
nacos 模型+ nacos源码部分解析
nacos 注册接口nacos 模型nacos源码部分解析--------------------------nacos 注册接口:缓存中获取,上个图的问题1,假设客户端缓存加上1,这个问题,2的问题,注册中心有个timestask ,定时查询记录,当前时间-续约时间》心跳时间,标记为down,检测心跳,30s 没有续约的情况下,查询不去查询down 状态,这个可以预防第二个问...原创 2020-03-19 22:09:42 · 780 阅读 · 0 评论 -
Feign + Ribbron 源码分析
源码总图:其中源码如下:原创 2020-03-06 15:58:23 · 181 阅读 · 0 评论 -
seata事务提交,回滚原理及源码分析
在本篇文章开始之前,我们回顾一下seata在AT模式下提交回滚的二个阶段(摘录官网)一阶段Seata通过其JDBC数据源代理对业务SQL进行解析,然后把业务数据在更新前后的数据镜像组织成回滚日志,利用本地事务的ACID特性,将业务数据的更新和回滚日志的写入在同一个本地事务中提交1、解析SQL2、查询前镜像3、执行业务SQL4、查询后镜像5、生成undolog并插入表undo_lo...原创 2020-03-01 15:21:26 · 2266 阅读 · 0 评论 -
ZooKeeper与CAP
根据CAP理论,一个分布式系统不可能同时满足一致性(C:Consistency)、可用性(A:Available)、分区容错性(P:Partition Tolerance)这三个基本需求,最多只能同时满足其中的两项,因为P是必须的,因此往往选择就在CP或者AP中。一致性(C:Consistency) 在分布式环境中,一致性是指数据在多个副本之间是否能够保持数据一致的特性。在一...转载 2020-02-15 09:55:24 · 181 阅读 · 0 评论 -
spring cloud 技术收集学习:
https://blog.youkuaiyun.com/forezp/article/details/70148833: 史上最简单的 SpringCloud 教程 | 第一篇: 服务的注册与发现(Eureka)(Finchley版本) 史上最简单的SpringCloud教程 | 第二篇: 服务消费者(rest+ribbon)(Finchley版本) 史上最简单的SpringCloud教...转载 2019-08-05 17:14:55 · 202 阅读 · 0 评论 -
集群_springclold:
1.启动工程,2.测试:3.结果显示:参考资料:转载 2019-07-29 17:55:23 · 220 阅读 · 0 评论 -
spring colund-xianliu
1.启动工程2.Jmeter进行压测3.转载 2019-07-29 17:41:00 · 499 阅读 · 0 评论