solitude23456's recent timeline updates
solitude23456

solitude23456

V2EX member #626930, joined on 2023-05-04 16:45:13 +08:00
solitude23456's recent replies
@Kinnice 感谢大佬指路! CN2 GIA 这个思路确实比轻量靠谱。目前偶发抖动用 12s 超时 + 重试兜住了,重试命中率不高,暂时先观察。等量上来如果抖动频繁再考虑加 HK 中转节点。
@yinmin 不是冷启动问题。Cloud Run 侧日志显示 5-6s 就处理完并返回了,但云函数侧等首字节等了 30s+。说明数据在回程公网链路上堵了。

另外用的是 Node.js ,冷启动 < 1s ,已经用定时 HEAD 预热 + 2 分钟保活规避了。
@Kinnice 感谢!查了一下 Cloud Run 默认就是 Premium Tier ,所以这块已经是最优了。

问题主要在 Google 骨干出口之后、回到腾讯云的那段公网回程,这段不可控。目前的方案是 12s 软超时 + abort + 新 TCP 重试,命中率大概 5-8%,重试后基本都能在 10s 内回来。

在考虑加一个香港轻量 VPS 做中转,腾讯→HK 走内网级延迟,HK→台湾走短跨境,理论上能把抖动概率降很多。
为啥都只想花个二三十块钱去白嫖哇 用 apple 注册个低价区买稳健又便宜
1 day ago
Replied to a topic by pekki 程序员 中转站疑似跑路
哪一家啊?
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2990 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 07:30 · PVG 15:30 · LAX 00:30 · JFK 03:30
♥ Do have faith in what you're doing.