<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: rock zhu</title>
    <description>The latest articles on DEV Community by rock zhu (@rock_zhu_9c3f8b6962f30378).</description>
    <link>https://dev.to/rock_zhu_9c3f8b6962f30378</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3934046%2F769778ec-50b3-417c-8d51-6f9a522cdf6a.jpg</url>
      <title>DEV Community: rock zhu</title>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rock_zhu_9c3f8b6962f30378"/>
    <language>en</language>
    <item>
      <title>The Rate Limit Cliff You Can't See</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Sat, 11 Jul 2026 00:30:50 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/the-rate-limit-cliff-you-cant-see-4k6n</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/the-rate-limit-cliff-you-cant-see-4k6n</guid>
      <description>&lt;p&gt;Most API pricing tiers don't measure what they claim to measure.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Token Buckets Create Invisible Throughput Walls
&lt;/h2&gt;

&lt;p&gt;A typical SaaS API tier promises 1,000 requests per minute at $49/month, 10,000 at $499/month. The math looks linear. But most platforms use token bucket algorithms—a system that refills a fixed bucket of allowance at regular intervals. The problem: tokens don't refill uniformly.&lt;/p&gt;

&lt;p&gt;What this means in practice: you can stay within your tier's stated limits and still hit a hard throughput ceiling. A developer building a batch job or handling a traffic spike discovers that their "tier" actually allows far fewer concurrent requests than advertised. The only sol&lt;/p&gt;

&lt;p&gt;The mechanism is intentional cost architecture, not a bug. Platforms benefit from the opacity: customers upgrade to tiers they don't fully need, and the vendor captures margin on what looks like incremental cost. For builders, the lesson is to model your actual burst capacity, no&lt;/p&gt;

&lt;h2&gt;
  
  
  Tier Jumps vs. Actual Capacity
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;01&lt;/strong&gt; Advertised burst allowance — Usually 2–5x the per-minute rate; token bucket refill rate masks the true peak.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;02&lt;/strong&gt; Tier price ratio — Jumps 5–10x between tiers, but throughput capacity often only doubles.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;03&lt;/strong&gt; Hidden upgrade trigger — Most users hit the ceiling 2–3 months into production, long after initial benchmarking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;04&lt;/strong&gt; Audit step — Model your 95th-percentile request burst, not your average; budget one tier above your peak need.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Full write-up: &lt;a href="https://cxgo.ai/l/PLe8uzs" rel="noopener noreferrer"&gt;https://cxgo.ai/l/PLe8uzs&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
    </item>
    <item>
      <title>Your real AI cost is 3–5 higher than you calculated</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Fri, 10 Jul 2026 00:30:36 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/your-real-ai-cost-is-3-5x-higher-than-you-calculated-1mk0</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/your-real-ai-cost-is-3-5x-higher-than-you-calculated-1mk0</guid>
      <description>&lt;p&gt;System prompts and context windows quietly compound token spend far beyond inference alone.&lt;/p&gt;

&lt;p&gt;Full write-up: &lt;a href="https://cxgo.ai/l/cQoW4Ny" rel="noopener noreferrer"&gt;https://cxgo.ai/l/cQoW4Ny&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
    </item>
    <item>
      <title>10亿额度制 如何在高波动日 蚕食散户成交</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Wed, 08 Jul 2026 00:30:23 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/10yi-e-du-zhi-ru-he-zai-gao-bo-dong-ri-tian-shi-san-hu-cheng-jiao-4i5a</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/10yi-e-du-zhi-ru-he-zai-gao-bo-dong-ri-tian-shi-san-hu-cheng-jiao-4i5a</guid>
      <description>&lt;p&gt;每日人民币额度上限在市场波动时成为隐形成本，机构T+0对冲规则套利该机制漏洞。&lt;/p&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/SsX7lAx" rel="noopener noreferrer"&gt;https://cxgo.ai/l/SsX7lAx&lt;/a&gt;&lt;/p&gt;

</description>
      <category>stocks</category>
      <category>arbitrage</category>
    </item>
    <item>
      <title>Token-based pricing hides a 3–5 cost trap</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Tue, 07 Jul 2026 00:30:27 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/token-based-pricing-hides-a-3-5x-cost-trap-34h2</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/token-based-pricing-hides-a-3-5x-cost-trap-34h2</guid>
      <description>&lt;p&gt;High-frequency, low-value API calls compound hidden expenses that monthly plans would cap.&lt;/p&gt;

&lt;p&gt;Full write-up: &lt;a href="https://cxgo.ai/l/90zjWgs" rel="noopener noreferrer"&gt;https://cxgo.ai/l/90zjWgs&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
    </item>
    <item>
      <title>南向资金 多付的那笔税 从没人算过</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Sun, 05 Jul 2026 00:30:58 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/nan-xiang-zi-jin-duo-fu-de-na-bi-shui-cong-mei-ren-suan-guo-2pl7</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/nan-xiang-zi-jin-duo-fu-de-na-bi-shui-cong-mei-ren-suan-guo-2pl7</guid>
      <description>&lt;p&gt;同一只港股，内地买家的实际摩擦成本在波动日比本地投资者高出约40%，差额藏在制度设计里。&lt;/p&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/ov8KgO1" rel="noopener noreferrer"&gt;https://cxgo.ai/l/ov8KgO1&lt;/a&gt;&lt;/p&gt;

</description>
      <category>stocks</category>
      <category>investing</category>
      <category>hongkong</category>
    </item>
    <item>
      <title>QT悄悄抬高 南向资金的 隐性融资成本</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Fri, 03 Jul 2026 00:30:36 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/qtqiao-qiao-tai-gao-nan-xiang-zi-jin-de-yin-xing-rong-zi-cheng-ben-1ikh</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/qtqiao-qiao-tai-gao-nan-xiang-zi-jin-de-yin-xing-rong-zi-cheng-ben-1ikh</guid>
      <description>&lt;p&gt;美联储缩表通过五个环节传导至港股北水的保证金利率，多数散户框架里这条链条是断的。&lt;/p&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/dCoEd3U" rel="noopener noreferrer"&gt;https://cxgo.ai/l/dCoEd3U&lt;/a&gt;&lt;/p&gt;

</description>
      <category>macro</category>
      <category>forex</category>
      <category>stocks</category>
    </item>
    <item>
      <title>黄金避险 有个死角 你踩过吗</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Tue, 30 Jun 2026 00:30:27 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/huang-jin-bi-xian-you-ge-si-jiao-ni-cai-guo-ma-1d0l</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/huang-jin-bi-xian-you-ge-si-jiao-ni-cai-guo-ma-1d0l</guid>
      <description>&lt;p&gt;QT缩表期间，机构用黄金补仓债券亏损，负相关性最长失效55天。&lt;/p&gt;

&lt;h2&gt;
  
  
  流动性虹吸窗口的四个测量值
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;40–55d&lt;/strong&gt; — 单次失效窗口平均持续&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;6WK&lt;/strong&gt; — 2022Q4最长连续同向下行&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;QT期&lt;/strong&gt; — 触发条件：美联储主动缩表&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;10Y&lt;/strong&gt; — 参照锚：美国国债收益率&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/ZcoriGk" rel="noopener noreferrer"&gt;https://cxgo.ai/l/ZcoriGk&lt;/a&gt;&lt;/p&gt;

</description>
      <category>macro</category>
      <category>gold</category>
      <category>bonds</category>
      <category>investing</category>
    </item>
    <item>
      <title>那个'月费' 你从没付过</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Sun, 28 Jun 2026 00:30:54 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/na-ge-yue-fei-ni-cong-mei-fu-guo-3b3l</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/na-ge-yue-fei-ni-cong-mei-fu-guo-3b3l</guid>
      <description>&lt;p&gt;定价页显示的月费几乎都是年付折算价——真实月付价高出 30–50%，多数用户从未察觉。&lt;/p&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/Z0EOTSG" rel="noopener noreferrer"&gt;https://cxgo.ai/l/Z0EOTSG&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
    </item>
    <item>
      <title>季末最后3天 南向资金悄悄 撤回A股</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Sat, 27 Jun 2026 00:30:43 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/ji-mo-zui-hou-3tian-nan-xiang-zi-jin-qiao-qiao-che-hui-agu-34gm</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/ji-mo-zui-hou-3tian-nan-xiang-zi-jin-qiao-qiao-che-hui-agu-34gm</guid>
      <description>&lt;p&gt;过去8个季度，恒生科技在季末尾盘3日平均跑输沪深300达1.7%，机构报告几乎从不单独披露。&lt;/p&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/8SnFQ0A" rel="noopener noreferrer"&gt;https://cxgo.ai/l/8SnFQ0A&lt;/a&gt;&lt;/p&gt;

</description>
      <category>stocks</category>
      <category>trading</category>
    </item>
    <item>
      <title>Free tier 不是 为了转化你—— 是为了耗尽 竞品的预算</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Thu, 25 Jun 2026 00:31:18 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/free-tier-bu-shi-wei-liao-zhuan-hua-ni-shi-wei-liao-hao-jin-jing-pin-de-yu-suan-54d6</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/free-tier-bu-shi-wei-liao-zhuan-hua-ni-shi-wei-liao-hao-jin-jing-pin-de-yu-suan-54d6</guid>
      <description>&lt;p&gt;占据关键词排名和社区讨论位后，竞品触达同一批用户的广告成本上涨 3–5 倍。&lt;/p&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/dJphBri" rel="noopener noreferrer"&gt;https://cxgo.ai/l/dJphBri&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
    </item>
    <item>
      <title>供应商从未 告诉你的 那个数字</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Wed, 24 Jun 2026 00:31:04 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/gong-ying-shang-cong-wei-gao-su-ni-de-na-ge-shu-zi-bna</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/gong-ying-shang-cong-wei-gao-su-ni-de-na-ge-shu-zi-bna</guid>
      <description>&lt;p&gt;基准测试都是串行跑的——而你的用户，不是。&lt;/p&gt;

&lt;h2&gt;
  
  
  为什么 50 个并发用户是一道隐形的门槛
&lt;/h2&gt;

&lt;p&gt;首 token 延迟（TTFT）是 LLM 产品中最直接影响用户感知的指标。单用户测试时，主流 API 的 TTFT 通常落在 300–800ms 之间，足以让早期演示看起来流畅。但当并发请求从 0 爬升到 50，这个数字往往膨胀至 2–5 秒，有时更高——原因不是网络，而是模型服务层的排队机制与 KV-cache 争抢。&lt;/p&gt;

&lt;p&gt;供应商公布的 benchmark 几乎全部采用串行请求：一个请求完成后再发下一个，这在生产环境中几乎不存在。真实的 SaaS 场景里，用户同时打开页面、同时触发补全，请求在同一个 token-generation 队列里堆叠。这不是供应商隐瞒数据，而是行业惯例从未被挑战过。&lt;/p&gt;

&lt;p&gt;对早期产品而言，这个落差的危险在于时机：它只在你开始增长时才会出现。内测阶段一切正常，公测第一天用户涌入，响应变慢，流失发生——而你的监控面板上，错误率依然是零。&lt;/p&gt;

&lt;h2&gt;
  
  
  你应该在 benchmark 里自己补上的测试
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;01&lt;/strong&gt; 并发压力下的 TTFT 基线 — 用 50 / 100 并发分别跑 P50 与 P95，而非平均值。&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;02&lt;/strong&gt; 冷池与热池的延迟差 — 部分供应商在低流量时会缩减实例，首个请求延迟可达 3–6 秒。&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;03&lt;/strong&gt; 排队超时的用户可见行为 — API 超时不等于用户看到错误；更常见的是无声的白屏等待。&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;04&lt;/strong&gt; 流式输出的感知优化空间 — Streaming 不能降低 TTFT，但能将「卡顿感」的感知阈值从 800ms 推到约 2s。&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/a3LVBGp" rel="noopener noreferrer"&gt;https://cxgo.ai/l/a3LVBGp&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
    </item>
    <item>
      <title>每年9月 离岸人民币 悄悄贬值 150–300基点</title>
      <dc:creator>rock zhu</dc:creator>
      <pubDate>Tue, 23 Jun 2026 00:30:33 +0000</pubDate>
      <link>https://dev.to/rock_zhu_9c3f8b6962f30378/mei-nian-9yue-chi-an-ren-min-bi-qiao-qiao-bian-zhi-150-300ji-dian-2f83</link>
      <guid>https://dev.to/rock_zhu_9c3f8b6962f30378/mei-nian-9yue-chi-an-ren-min-bi-qiao-qiao-bian-zhi-150-300ji-dian-2f83</guid>
      <description>&lt;p&gt;中国企业季末集中购汇，离岸市场无央行托底，汇差静默侵蚀港股与东南亚人民币资产持仓。&lt;/p&gt;

&lt;p&gt;完整解读: &lt;a href="https://cxgo.ai/l/n8GpQso" rel="noopener noreferrer"&gt;https://cxgo.ai/l/n8GpQso&lt;/a&gt;&lt;/p&gt;

</description>
      <category>forex</category>
      <category>stocks</category>
      <category>investing</category>
    </item>
  </channel>
</rss>
