上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: 一、为什么不直接物理删除 即使业务上"不需要保留"订单数据,直接 DELETE 仍会带来问题: 场景:某电商决定只保留3个月订单,过期删除 直接 DELETE 的问题: 问题 说明 实际影响 主从延迟 大删除产生大量 binlog 从库延迟几分钟到几十分钟 锁竞争 DELETE 期间锁住大量行 影响 阅读全文
posted @ 2026-04-06 16:33 爱晒太阳的懒猫。。 阅读(60) 评论(0) 推荐(0)
摘要: #!/bin/bash WEBHOOK_URL="https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=***" SERVICE_NAME="MedicTechServer" STATE_FILE="/tmp/medictech_server_st 阅读全文
posted @ 2026-04-03 22:41 爱晒太阳的懒猫。。 阅读(34) 评论(0) 推荐(0)
摘要: 1.windows环境下直接写进本地机器的环境变量里 setx Database__ConnectionStrings "Server=****;Database=****;charset=utf8;uid=admin;pwd=***;port=3306;Pooling=true" /M 阅读全文
posted @ 2026-04-03 10:13 爱晒太阳的懒猫。。 阅读(18) 评论(0) 推荐(0)
摘要: 下载地址:https://github.com/bluenviron/mediamtx/releases 区分amd和arm linux上uname -m命令 输出x86_64或amd_64,则是amd 传到linux上,修改yml配置打开api #api: false改为api: true 2.步 阅读全文
posted @ 2026-04-02 10:33 爱晒太阳的懒猫。。 阅读(74) 评论(0) 推荐(0)
摘要: 文章:https://zhuanlan.zhihu.com/p/1961384934619980556 github下载地址: https://link.zhihu.com/?target=https%3A//github.com/bluenviron/mediamtx/releases 接口文档: 阅读全文
posted @ 2026-04-02 10:08 爱晒太阳的懒猫。。 阅读(636) 评论(0) 推荐(0)
摘要: WebSocket 通过 HTTP 的 Upgrade 机制实现协议切换: 初始请求是 HTTP 请求 通过特定的头部告知服务器要进行协议升级 服务器返回 101 Switching Protocols 状态码后,连接转为 WebSocket 协议 标准的配置 location /ws/ { pro 阅读全文
posted @ 2026-04-01 13:38 爱晒太阳的懒猫。。 阅读(19) 评论(0) 推荐(0)
摘要: nginx的压缩: 最标准的是前端只负责解压,nginx压缩,后端不用管 proxy_set_header Accept-Encoding gzip;#不是nginx做压缩动作的意思,而是表示nginx只接受压缩gzip格式的,告诉后端服务器进行压缩 标准的配置: proxy_set_header 阅读全文
posted @ 2026-04-01 09:18 爱晒太阳的懒猫。。 阅读(18) 评论(0) 推荐(0)
摘要: 1.环境windows 2.下载docker desktop软件 , 官网https://www.docker.com/products/docker-desktop/ 3.desktop安装好,运行,保证是在running状态 运行时候报错需要更新wxl, 执行 wxl --update报错无法连 阅读全文
posted @ 2026-03-18 09:29 爱晒太阳的懒猫。。 阅读(12) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/1926019174389511561 阅读全文
posted @ 2026-02-19 10:29 爱晒太阳的懒猫。。 阅读(8) 评论(0) 推荐(0)
摘要: 直接进服务器命令:bt default 阅读全文
posted @ 2026-02-19 10:23 爱晒太阳的懒猫。。 阅读(9) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 15 下一页