<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/rss/stylesheet/" type="text/xsl"?>
<rss xmlns:podcast='https://podcastindex.org/namespace/1.0' xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd' xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:podbridge='http://www.podbridge.com/podbridge-ad.dtd' version='2.0'>
<channel>
  <title>untitled</title>
  <language>en-us</language>
  <generator>microfeed.org</generator>
  <itunes:type>episodic</itunes:type>
  <itunes:explicit>false</itunes:explicit>
  <atom:link rel="self" href="https://cms.elliothu.me/rss/" type="application/rss+xml"/>
  <link>https://elliot-personal-site-cms.hqy841440305.workers.dev</link>
  <itunes:image href="https://cms.elliothu.me/assets/default/channel-image.png"/>
  <image>
    <title>untitled</title>
    <url>https://cms.elliothu.me/assets/default/channel-image.png</url>
    <link>https://elliot-personal-site-cms.hqy841440305.workers.dev</link>
  </image>
  <copyright>©2026</copyright>
  <item>
    <title>年度最佳技术公关：口水战引发CF技术大升级</title>
    <guid>UTQTEGvxtrc</guid>
    <pubDate>Mon, 20 Oct 2025 03:30:11 GMT</pubDate>
    <itunes:explicit>false</itunes:explicit>
    <description>
      <![CDATA[<p>技术圈年度大瓜：Cloudflare 对线 Vercel。</p>
<p>653 粉丝小 UP 主公开怼 48 万粉丝大 V，说他“瞎黑 Cloudflare”。结果测试数据一出来，剧情连续反转。更精彩的是 Cloudflare 官方的回应：十天内把公关危机变成技术实力展示，一波优化性能提升巨大，还顺手造福 Node.js 生态和 AWS 等友商，堪称一场技术公关教科书案例。</p>
<h2>事件时间线</h2>
<p><strong>9 月 29 日：</strong>YouTuber Quentin（653 粉丝）发视频直接挑战知名技术博主 Theo（48 万粉丝），声称 Theo 在没有证据的情况下诋毁 Cloudflare，并宣称自己的测试显示“Cloudflare Workers 以 3 倍优势完爆 Vercel”。</p>
<figure><img src="https://static.elliothu.me/production/images/item-941bca57bdf9db6d59109009e0ab1439.png" alt="Quentin 的 Cloudflare 与 Vercel 对比视频"><figcaption>9 月 29 日：Quentin 发布挑战视频</figcaption></figure>
<p><strong>10 月 4 日：</strong>Theo 发布回应视频《Was I wrong about Cloudflare?》，开源了完整的基准测试代码，用数据说话。</p>
<p><strong>10 月 14 日：</strong>Cloudflare 官方下场，发布深度技术分析博客，承认问题并提出解决方案：《Unpacking Cloudflare Workers CPU Performance Benchmarks》。</p>
<figure><img src="https://static.elliothu.me/production/images/item-40e367db4d955786dee1f1ad941d3862.png" alt="Theo 的 Cloudflare 基准测试回应视频"><figcaption>Theo 的基准测试回应视频</figcaption></figure>
<figure><img src="https://static.elliothu.me/production/images/item-e9675130318ce044b7739a18bcf1911d.png" alt="Cloudflare 官方性能分析文章"><figcaption>Cloudflare 官方技术分析与回应</figcaption></figure>
<h2>性能对比数据</h2>
<p>Theo 的开源测试结果完全颠覆了 Quentin 的结论：</p>
<ul>
<li>Next.js：Vercel 快 3.55 倍（1.895s vs. 0.534s）</li>
<li>React SSR：Vercel 快 3.45 倍（0.476s vs. 0.138s）</li>
<li>SvelteKit：Vercel 快 2.59 倍（0.292s vs. 0.113s）</li>
<li>数学计算：Vercel 快 2.09 倍（1.469s vs. 0.702s）</li>
</ul>
<p>唯一例外：三角函数计算场景下，Cloudflare 快 1.54 倍。</p>
<p>更严重的问题是 Cloudflare 性能波动极大，部分请求耗时超过 10 秒，稳定性堪忧。</p>
<figure><img src="https://static.elliothu.me/production/images/item-500967c2d10c07865eabe3662564ca34.png" alt="Cloudflare 与 Vercel 性能基准测试结果"><figcaption>响应时间、稳定性和成本对比</figcaption></figure>
<h2>Cloudflare 的教科书级回应</h2>
<p>面对这一挑战，Cloudflare 展现了什么叫“完美的技术公关”。</p>
<h3>1. 承认现实，深度分析</h3>
<p>没有任何推脱，直接承认性能差距，并进行根因分析。技术问题包括：</p>
<ul>
<li>历史包袱：2017 年制定的 V8 垃圾收集器配置已过时</li>
<li>架构不匹配：512MB 配置用在 128MB 隔离环境</li>
<li>标准演进：<code>JSON.parse</code> reviver 函数性能退化</li>
<li>编译优化缺失：Node.js 未启用最新三角函数优化</li>
</ul>
<h3>2. 立即行动，推动改进</h3>
<p>不只是分析，更重要的是立即进行技术优化：</p>
<ul>
<li>V8 垃圾收集器调优：性能提升 25%</li>
<li><code>JSON.parse</code> 上游补丁：预期提升 33%（V8 14.3+）</li>
<li>向 Node.js 贡献三角函数优化代码</li>
<li>向 V8 开源项目贡献代码</li>
<li>推动整个 JavaScript 生态系统性能改进</li>
<li>提升 Node.js 在 AWS Lambda 和 Vercel 上的表现</li>
</ul>
<h3>3. 重新定义竞争维度</h3>
<p>Cloudflare 巧妙地将单纯的 CPU 性能对比扩展为综合价值评估。</p>
<p><strong>成本效益：</strong></p>
<ul>
<li>Cloudflare：$0.072/小时</li>
<li>Vercel：$0.128/小时</li>
<li>Cloudflare 便宜 44%</li>
</ul>
<p><strong>基础设施优势：</strong></p>
<ul>
<li>330+ 个全球城市边缘节点覆盖</li>
<li>更精确的计费模式：仅计算执行时间</li>
<li>更先进的多租户安全隔离技术</li>
</ul>
<h2>技术优化的核心亮点</h2>
<h3>V8 垃圾收集器优化</h3>
<ul>
<li>问题：2017 年基于 512MB 内存的过时配置</li>
<li>解决：让 V8 根据实际 128MB 环境自适应调整</li>
<li>效果：特定场景性能提升 25%</li>
</ul>
<h3>JSON.parse 性能提升</h3>
<ul>
<li>问题：reviver 函数在 Theo 测试中调用超过 10 万次</li>
<li>解决：向 V8 上游贡献性能补丁</li>
<li>效果：预期性能提升 33%</li>
</ul>
<h3>三角函数加速</h3>
<ul>
<li>发现：Node.js 未使用最新的数学函数优化</li>
<li>行动：提交 PR 启用 <code>V8_USE_LIBM_TRIG_FUNCTIONS</code></li>
<li>影响：惠及整个 Node.js 生态系统</li>
</ul>
<p>除此之外还有 streaming response、stream allocation、OpenNext.js 计算缓存、composable cache、header object 和 buffer copy 等十余项 PR。</p>
<figure><img src="https://static.elliothu.me/production/images/item-887e01fdda474216f1ddec83a50ad336.png" alt="Cloudflare 性能优化 PR 列表"><figcaption>此次事件推动的十余项性能优化</figcaption></figure>
<h2>这次事件的深层启示</h2>
<p><strong>对技术公关的启示：</strong></p>
<ol>
<li>速度与深度并重：十天内发布专业技术分析。</li>
<li>承认问题胜过辩解：直面性能差距，不推脱责任。</li>
<li>行动胜过承诺：立即优化并向开源社区贡献代码。</li>
<li>格局决定高度：将竞争转化为生态系统改进。</li>
</ol>
<p><strong>对技术人员的启示：</strong></p>
<ol>
<li>数据胜过观点：Theo 用开源测试回应质疑。</li>
<li>专业态度重要：Cloudflare 用技术深度赢得尊重。</li>
<li>开放心态可贵：将挑战视为改进机会。</li>
<li>社区价值最大：个人争论推动了整体进步。</li>
</ol>
<h2>三方共赢</h2>
<ul>
<li>Quentin：勇于挑战权威的精神获得认可。</li>
<li>Theo：专业性和社区责任感得到验证。</li>
<li>Cloudflare：化危机为机遇，展现技术领导力。</li>
</ul>
<p>整个技术社区都因此受益：开源测试工具、性能优化、生态改进。</p>
<p>UP 主也是从 Vercel 迁移到 Cloudflare 的深度用户。相比 Vercel，Cloudflare 确实在费用、产品广度、深度和灵活性上好很多。对独立开发者也足够慷慨，5 美元 Worker 套餐真香。并且 Cloudflare 一直在推出新功能，比如最近 Workers 就支持了容器运行。</p>
<p>总之，CF 团队这种不急于回应，而是拿实际行动和事实数据来反驳质疑的方式，值得真正的尊重，也在社区得到了赞誉。争论不是目的，进步才是结果。</p>
<hr><p><a href="https://www.xiaohongshu.com/explore/68f514c30000000004017fe9">原始小红书笔记</a></p>]]>
    </description>
    <link>https://cms.elliothu.me/i/%E5%B9%B4%E5%BA%A6%E6%9C%80%E4%BD%B3%E6%8A%80%E6%9C%AF%E5%85%AC%E5%85%B3-%E5%8F%A3%E6%B0%B4%E6%88%98%E5%BC%95%E5%8F%91-cf-%E6%8A%80%E6%9C%AF%E5%A4%A7%E5%8D%87%E7%BA%A7/</link>
    <itunes:image href="https://static.elliothu.me/production/media/image-3e877bcef7fa69fd810a5f3c5be757df.png"/>
  </item>
</channel>
</rss>