摘要: 核心实现思路分为两种方案(适配不同运维场景): 方案1:Nginx原生配置(被动健康检查)——无需编译额外模块,快速落地,适合中小规模集群; 方案2:第三方模块(主动健康检查)——主动检测后端状态,精准屏蔽故障节点,适合税务系统等核心生产场景。 方案1:Nginx原生被动健康检查(推荐快速落地) N 阅读全文
posted @ 2026-03-05 09:55 shiyunyier 阅读(3) 评论(0) 推荐(0)
摘要: 这条命令是把nginx_upstream_check_module(主动健康检查模块)的补丁代码,注入到Nginx核心的上游(upstream)调度模块源码中,为Nginx原生的后端调度逻辑添加“健康状态感知”能力。下面拆解具体发生的事: 一、先理解patch命令的基础作用 patch -p1 < 阅读全文
posted @ 2026-03-05 09:49 shiyunyier 阅读(6) 评论(0) 推荐(0)
摘要: DBeaver <msg time='2023-08-10T14:52:57.100+08:00' org_id='oracle' comp_id='tnslsnr' type='UNKNOWN' level='16' host_id='localhost.localdomain' host_add 阅读全文
posted @ 2023-08-10 15:10 shiyunyier 阅读(477) 评论(0) 推荐(0)
摘要: 请求连接:curl -H "Content-Type:application/json;charset=utf-8" -H "channel_id:21520160723000110027" -H "sequenceid:1122" http://127.0.0.1:1095/app/api/gqz 阅读全文
posted @ 2023-08-09 19:02 shiyunyier 阅读(1539) 评论(0) 推荐(0)
摘要: 1.编写破译密码程序 Decrypt.java import weblogic.security.internal.*; import weblogic.security.internal.encryption.*; import java.io.PrintStream; public class 阅读全文
posted @ 2022-07-29 17:02 shiyunyier 阅读(317) 评论(0) 推荐(0)
摘要: 一、简介相邻行之间的计算:按照某个字段排序后,获取下一行某一列的数据,再来求差值lag(字段,偏移量,默认值) over (order by 排序字段) 下一行的数据lead(字段,偏移量,默认值) over (order by 排序字段) 上一行的数据 二、示例 数据准备 -- Create ta 阅读全文
posted @ 2022-06-24 19:13 shiyunyier 阅读(964) 评论(0) 推荐(0)
摘要: 背景:对业务增加监控后,出现了大量的垃圾告警信息,通过告警信息无法区分是系统出现故障还是当前系统没人使用。 问题解决思路:通过表中数据分析,业务发生的时间间隔,来制定监控频率,最大限度优化垃圾告警信息出现 SELECT sc 时间间隔, count(1) 出现频率 FROM (SELECT roun 阅读全文
posted @ 2022-06-24 18:47 shiyunyier 阅读(46) 评论(0) 推荐(0)
摘要: python2.7中,使用urllib.unquote: import urllib url = 'client_id=20210113101837033011&client_secret=5d49d60ebd46&grant_type=authorization_code&code=48b0e37 阅读全文
posted @ 2022-06-17 11:33 shiyunyier 阅读(2207) 评论(0) 推荐(0)
摘要: 背景:nginx的版本低于1.15.1以下,无法正常打印post请求里面参数。 Ng日志格式如下 log_format main '[$remote_addr] [$remote_port] [$remote_user] [$http_cookie] [$time_local] [$request] 阅读全文
posted @ 2022-05-19 10:38 shiyunyier 阅读(813) 评论(0) 推荐(0)
摘要: 编写Dockerfile文件 vim mydockerfile-centos FROM centos MAINTAINER zhaowx<549334961@qq.com> ENV MYPATH /usr/local WORKDIR $MYPATH RUN yum install -y vim ne 阅读全文
posted @ 2022-03-13 19:26 shiyunyier 阅读(592) 评论(0) 推荐(0)