会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
意犹未尽
只要在学习,则在进步。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
52
下一页
2024年11月22日
设计模式之美学习-代码命名规范
摘要: 管理类命名 Bootstrap,Starter 一般作为程序启动器使用,或者作为启动器的基类。通俗来说,可以认为是main函数的入口。 AbstractBootstrap ServerBootstrap MacosXApplicationStarter DNSTaskStarter Processo
阅读全文
posted @ 2024-11-22 10:12 意犹未尽
阅读(104)
评论(0)
推荐(0)
2024年11月12日
ES-Client-api-easy es
摘要: 官方文档: https://www.easy-es.cn/pages/ce1922/#常规聚合 目前感觉不错,简单CRUD支持 复杂的也可以混合模式支持 例子一 DSL { "size": 1, "query": { "bool": { "must": [ { "term": { "awardPun
阅读全文
posted @ 2024-11-12 11:55 意犹未尽
阅读(108)
评论(0)
推荐(0)
2024年10月24日
sentinel-ProcessorSlot
摘要: 官方文档 https://sentinelguard.io/zh-cn/docs/basic-implementation.html 初始化时机 // 1.5.0 版本开始可以直接利用 try-with-resources 特性 自动回收调用 entry.exit() 配合注解使用 @Sentine
阅读全文
posted @ 2024-10-24 11:54 意犹未尽
阅读(36)
评论(0)
推荐(0)
sentinel-SPI初始化时机
摘要: 时机一引入alibaba-starter-sentinel 如果使用了alibaba-starter-sentinel则不需要手动调用因为com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration#init在这里面执行了自动调用 @Post
阅读全文
posted @ 2024-10-24 11:14 意犹未尽
阅读(47)
评论(0)
推荐(0)
2024年10月21日
记录一次内存泄漏排查
摘要: 事件描述 order服务出现频繁GC告警,app卡顿 事件回顾 【2024-10-21 08:20:04】order出现频繁GC告警 【2024-10-21 09:24:04】通过命令jmap -histo:live [pid]查看存活对象发现sentinel统计对象占用大量内存 【2024-10-
阅读全文
posted @ 2024-10-21 20:41 意犹未尽
阅读(166)
评论(0)
推荐(0)
2024年10月18日
设计思路之系统做深能力的思维方式
摘要: 什么是系统做深和系统做宽 系统做宽 我们一般做业务需求,都会做一期二期迭代。迭代后,能支持的业务场景越来越多也就是系统做宽 系统做深 我们在做根据业务需求做方案设计的时候,应当考虑这个业务场景使用的一些能力是否是定制化的,如果不是如何抽象化成业务中台的能力。能够给将来各个场景的业务服务或者业务做支撑
阅读全文
posted @ 2024-10-18 09:52 意犹未尽
阅读(33)
评论(0)
推荐(0)
2024年10月14日
Spring Autowired原理
摘要: 入口 临时记录 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor#postProcessProperties -> org.springframework.beans.factory.a
阅读全文
posted @ 2024-10-14 17:46 意犹未尽
阅读(12)
评论(0)
推荐(0)
2024年10月11日
maven-jar包管理
摘要: 覆盖更新导致的问题 背景 快速接入sentinel-starter的包。团队80多个服务已经接入 <dependency> <artifactId>yxt-sentinel-spring-boot-starter</artifactId> <groupId>com.yxt</groupId> <ve
阅读全文
posted @ 2024-10-11 09:54 意犹未尽
阅读(18)
评论(0)
推荐(0)
2024年9月30日
Spring Boot-Spring MVC自动装配原理
摘要: 说明 在非Spring Boot项目中我们要使用Spring MVC 要做很多繁琐的配置,配置DispatcherServlet、配置RequestMapping 配置RequestMappingAdapter 当我们使用Spring Boot项目只需要引入以下依赖就完成了整个自动Spring MV
阅读全文
posted @ 2024-09-30 15:26 意犹未尽
阅读(216)
评论(0)
推荐(0)
2024年9月29日
sentinel-transport-SPI-HeartbeatSenderInitFunc
摘要: 说明 我们引入以下依赖 <dependency> <groupId>com.alibaba.csp</groupId> <artifactId>sentinel-transport-simple-http</artifactId> <version>1.8.6</version> </depende
阅读全文
posted @ 2024-09-29 10:42 意犹未尽
阅读(52)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
52
下一页
公告