04 2022 档案

摘要:1.说明 KEYS[1] 用来表示在redis 中用作键值的参数占位,主要用來传递在redis 中用作keyz值的参数。 ARGV[1] 用来表示在redis 中用作参数的占位,主要用来传递在redis中用做 value值的参数。 2.代码范例 2.1 释放redis锁 public boolean 阅读全文
posted @ 2022-04-22 18:24 SpecialSpeculator 阅读(161) 评论(0) 推荐(0) 编辑
摘要:Filter性能更高 filter不进行评分操作,所以性能更好 Must 好计算分值的,类似于sql中的and 阅读全文
posted @ 2022-04-22 18:10 SpecialSpeculator 阅读(850) 评论(0) 推荐(1) 编辑
摘要:1.RSetMultimapCache 是redisson基于redis设计的数据结构 主要用于存取数据结构为Map<String,Set> map 这种数据结构 2.putAll方法的坑 RSetMultimapCache<String, String> list = getRGroup(redi 阅读全文
posted @ 2022-04-22 16:45 SpecialSpeculator 阅读(613) 评论(0) 推荐(0) 编辑
摘要:1.查询json学习 { "bool": { "must": [ { "term": { "yn": { "value": 1, "boost": 1 # 权重是1 } } }, { "terms": { "ware_info_id": [ "lw_770_421", "lw_770_979", " 阅读全文
posted @ 2022-04-22 13:35 SpecialSpeculator 阅读(34) 评论(0) 推荐(0) 编辑
摘要:1.前情回顾 k8s从kube-metrics-server获取到里面cpu的依据,进行自动扩容 kubectl top node 可以看节点状态,和prometheus对比 prometheus带着参数去请求blackbox-exporter,black-exporter才知道去检测哪些是否存活, 阅读全文
posted @ 2022-04-20 19:02 SpecialSpeculator 阅读(262) 评论(0) 推荐(0) 编辑
摘要:1.Deployment.yaml 配置文件剖析 apiVersion: extensions/v1beta1 # 指定api的版本,此值必须在kubectl api-versions中,以“组/版本”的格式 kind: Deployment # 指定创建资源的角色/类型 metadata: # 资 阅读全文
posted @ 2022-04-19 17:10 SpecialSpeculator 阅读(402) 评论(0) 推荐(0) 编辑
摘要:day06 prometheusPrometheus 新一代容器云监控系统,prometheus+granfa 1.云原生(Cloud Native)程序的概念 容器的封装,可以让应用程序脱离原先依赖的基础设施,进行解耦,不再强依赖操作系统 封装统一,docker run, 配置是独立于程序的可配变量,同一份程序在不同配置下会有不 阅读全文
posted @ 2022-04-15 16:00 SpecialSpeculator 阅读(93) 评论(0) 推荐(0) 编辑
摘要:1.发布配置 2.controller接口 @PreAuthorize(value = "@permissionValidator.hasReleaseNamespacePermission(#appId, #namespaceName, #env)") @PostMapping(value = " 阅读全文
posted @ 2022-04-14 20:05 SpecialSpeculator 阅读(51) 评论(0) 推荐(0) 编辑
摘要:1.添加配置项 2.对应了ItemController @PreAuthorize(value = "@permissionValidator.hasModifyNamespacePermission(#appId, #namespaceName, #env)") @PostMapping("/ap 阅读全文
posted @ 2022-04-14 19:42 SpecialSpeculator 阅读(47) 评论(0) 推荐(0) 编辑
摘要:1.Apoll创建项目代码分析 POST 请求到/apps 2.controller分析 2.1 Post参数对象AppModel public class AppModel { @NotBlank(message = "name cannot be blank") private String n 阅读全文
posted @ 2022-04-14 17:58 SpecialSpeculator 阅读(104) 评论(0) 推荐(0) 编辑
摘要:南苑居住证010-67951618 阅读全文
posted @ 2022-04-10 12:12 SpecialSpeculator 阅读(13) 评论(0) 推荐(0) 编辑
摘要:xxl-job运行 idea本地测试可以 生产环境不行 一直报类找不到 java.lang.NoClassDefFoundError: groovy/lang/GroovyClassLoader at com.xxl.job.core.glue.GlueFactory.<init>(GlueFact 阅读全文
posted @ 2022-04-06 20:40 SpecialSpeculator 阅读(2883) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示