惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
O
OpenAI News
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
S
Schneier on Security
Latest news
Latest news
F
Full Disclosure
T
Tenable Blog
T
Troy Hunt's Blog
The Last Watchdog
The Last Watchdog
S
Secure Thoughts
L
LangChain Blog
有赞技术团队
有赞技术团队
Project Zero
Project Zero
Cloudbric
Cloudbric
爱范儿
爱范儿
GbyAI
GbyAI
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
The Exploit Database - CXSecurity.com
S
Security @ Cisco Blogs
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
大猫的无限游戏
大猫的无限游戏
Last Week in AI
Last Week in AI
C
Cisco Blogs
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V2EX - 技术
V2EX - 技术
Engineering at Meta
Engineering at Meta
Spread Privacy
Spread Privacy
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Hacker News: Ask HN
Hacker News: Ask HN
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Schneier on Security
Schneier on Security
T
Threat Research - Cisco Blogs
M
MIT News - Artificial intelligence
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
K
Kaspersky official blog
The Hacker News
The Hacker News
V
V2EX
F
Fortinet All Blogs
L
LINUX DO - 最新话题
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
N
News | PayPal Newsroom
博客园 - 三生石上(FineUI控件)
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

博客园 - WinChance

通用元 Prompt:新技术「做中学指挥手册」生成器 Timefold Solver 快速入门 Open Code 快捷键 基于现有项目提交到SVN远程仓 .NETer 的 Java 17 低痛苦开发指南 .NETer的Java 21低痛苦开发指南 AI+未来世界蓝图预测资料 资深工程师思维和技巧 语文启蒙 数学启蒙 英语启蒙 3大1小(4岁)重庆春节5天4晚·金佛山西坡最终版 中文提示词最佳实践开源库推荐 AI-Native 开发工作流手册 AI-Native 技术决策者速查手册 《Hello 算法》+ 尚硅谷韩顺平 组合拳食用指南 广东前20名亲子景点(按对4岁孩子吸引力排序) Gitea CICD Win11WSL2 安装Ubuntu-22.04 钣金件化学池视觉跟踪系统方案 面向初中生的电子制作 VMware虚拟机安装Ubuntu22.04服务器版图文教程(超详细) 在Ubuntu 24上优雅地安装VMware Tools的终极指南
反向代理"冷连接惩罚"
WinChance · 2026-06-16 · via 博客园 - WinChance

现象描述

场景 表现
公网访问网站 静态资源(HTML/JS/CSS)加载正常,速度稳定
小程序/公网调 API 接口响应时快时慢,无明显规律,偶发超时
内网直连服务器 同一接口毫秒级响应,服务端本身无性能瓶颈
公网监控数据 冷请求 TTFB 高达 20+ 秒;但 DNS、TCP、TLS 耗时均正常

公网

image

image

内网

image

image

image

关键结论

不是服务端性能问题(内网快)。
不是网络带宽/传输问题(DNS/TCP/TLS 正常)。
不是小程序本身问题(公网直接 curl 同样复现)。
大概率是 Nginx 反向代理 upstream 连接池与中间层 NAT/防火墙的「死连接」交互问题。

解决措施