上一页 1 2 3 4 5 6 7 ··· 53 下一页
摘要: 什么是系统做深和系统做宽 系统做宽 我们一般做业务需求,都会做一期二期迭代。迭代后,能支持的业务场景越来越多也就是系统做宽 系统做深 我们在做根据业务需求做方案设计的时候,应当考虑这个业务场景使用的一些能力是否是定制化的,如果不是如何抽象化成业务中台的能力。能够给将来各个场景的业务服务或者业务做支撑 阅读全文
posted @ 2024-10-18 09:52 意犹未尽 阅读(46) 评论(0) 推荐(0)
摘要: 入口 临时记录 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor#postProcessProperties -> org.springframework.beans.factory.a 阅读全文
posted @ 2024-10-14 17:46 意犹未尽 阅读(17) 评论(0) 推荐(0)
摘要: 覆盖更新导致的问题 背景 快速接入sentinel-starter的包。团队80多个服务已经接入 <dependency> <artifactId>yxt-sentinel-spring-boot-starter</artifactId> <groupId>com.yxt</groupId> <ve 阅读全文
posted @ 2024-10-11 09:54 意犹未尽 阅读(34) 评论(0) 推荐(0)
摘要: 说明 在非Spring Boot项目中我们要使用Spring MVC 要做很多繁琐的配置,配置DispatcherServlet、配置RequestMapping 配置RequestMappingAdapter 当我们使用Spring Boot项目只需要引入以下依赖就完成了整个自动Spring MV 阅读全文
posted @ 2024-09-30 15:26 意犹未尽 阅读(264) 评论(0) 推荐(0)
摘要: 说明 我们引入以下依赖 <dependency> <groupId>com.alibaba.csp</groupId> <artifactId>sentinel-transport-simple-http</artifactId> <version>1.8.6</version> </depende 阅读全文
posted @ 2024-09-29 10:42 意犹未尽 阅读(337) 评论(0) 推荐(0)
摘要: 说明 我们引入以下 <dependency> <groupId>com.alibaba.csp</groupId> <artifactId>sentinel-transport-simple-http</artifactId> <version>1.8.6</version> </dependenc 阅读全文
posted @ 2024-09-29 10:21 意犹未尽 阅读(205) 评论(0) 推荐(0)
摘要: 说明 动态代理里面抛出sentinel的异常发现抛出的是UndeclaredThrowableException包装了一层 导致专门处理流控异常的地方不能正常处理 异常类图 jdk动态原理对异常的处理 生成的字节码 参考https://www.cnblogs.com/LQBlog/p/1639710 阅读全文
posted @ 2024-09-24 13:44 意犹未尽 阅读(291) 评论(0) 推荐(0)
摘要: 查看规则是否加载成功 规则类型 URL 1 系统规则 http://{serviceip}:{port} /getRules?getParamFlowRules 2 获取授权规则 http://{serviceip}:{port}/getRules?type=authority 3 获取熔断规则 h 阅读全文
posted @ 2024-09-23 19:54 意犹未尽 阅读(45) 评论(0) 推荐(0)
摘要: 熔断、限流、降级如何理解 上图的问题就是综合服务调用外部服务,当B服务出现工作线程出现阻塞导致大量请求排队,导致超时,进而影响了综合服务。 我们从2个视角来看 1.从外部服务的视角当工作线程出现阻塞是因为服务出现了超过自身能够处理的流量导致阻塞这个时候往往我们就需要限流。阻塞又是通过各种情况导致比如 阅读全文
posted @ 2024-09-20 16:22 意犹未尽 阅读(32) 评论(0) 推荐(0)
摘要: 时序图 阅读全文
posted @ 2024-09-18 13:10 意犹未尽 阅读(17) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 53 下一页