上一页 1 2 3 4 5 6 ··· 53 下一页
摘要: 业务服务提供的压测代码 /** * @Author liqiang * @Description 网关测试 * @Date 2025/03/26/14:32 */ @RestController @RequestMapping("/c/gateway/testGateway") public cla 阅读全文
posted @ 2025-03-26 14:12 意犹未尽 阅读(136) 评论(0) 推荐(0)
摘要: 背景 使用es通过常规分页来做导出是遇到不能超过from不能跳过1万的问题。结合这个问题契机深入了解一下es的分页。 入参 { "from":10601, "size": 5 } 响应 { "error": { "root_cause": [ { "type": "illegal_argument_ 阅读全文
posted @ 2025-03-08 19:57 意犹未尽 阅读(191) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/LQBlog/p/18490319 阅读全文
posted @ 2024-12-04 10:14 意犹未尽 阅读(52) 评论(0) 推荐(0)
摘要: 引入包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> <version>${spring.boot.version}</ve 阅读全文
posted @ 2024-12-02 13:52 意犹未尽 阅读(114) 评论(0) 推荐(0)
摘要: git地址 https://github.com/mobz/elasticsearch-head 安装方式 浏览器插件 docker本地安装 集群健康值:yellow( 623 of 801 ):表示当前集群的全部主分片都正常运行,但是副本分片没有全部处在正常状态。 副本分片都是 Unassigne 阅读全文
posted @ 2024-11-28 20:00 意犹未尽 阅读(445) 评论(0) 推荐(0)
摘要: 管理类命名 Bootstrap,Starter 一般作为程序启动器使用,或者作为启动器的基类。通俗来说,可以认为是main函数的入口。 AbstractBootstrap ServerBootstrap MacosXApplicationStarter DNSTaskStarter Processo 阅读全文
posted @ 2024-11-22 10:12 意犹未尽 阅读(156) 评论(0) 推荐(0)
摘要: 官方文档: https://www.easy-es.cn/pages/ce1922/#常规聚合 目前感觉不错,简单CRUD支持 复杂的也可以混合模式支持 例子一 DSL { "size": 1, "query": { "bool": { "must": [ { "term": { "awardPun 阅读全文
posted @ 2024-11-12 11:55 意犹未尽 阅读(152) 评论(0) 推荐(0)
摘要: 官方文档 https://sentinelguard.io/zh-cn/docs/basic-implementation.html 初始化时机 // 1.5.0 版本开始可以直接利用 try-with-resources 特性 自动回收调用 entry.exit() 配合注解使用 @Sentine 阅读全文
posted @ 2024-10-24 11:54 意犹未尽 阅读(57) 评论(0) 推荐(0)
摘要: 时机一引入alibaba-starter-sentinel 如果使用了alibaba-starter-sentinel则不需要手动调用因为com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration#init在这里面执行了自动调用 @Post 阅读全文
posted @ 2024-10-24 11:14 意犹未尽 阅读(66) 评论(0) 推荐(0)
摘要: 事件描述 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 意犹未尽 阅读(244) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 53 下一页