跳到正文
Hacker News· 7777777phil·· 10 天前AI 评分62

Cloudflare 账单 10811.41 美元:Durable Object 告警死循环致 6 万亿次读写

Serverless Horrors $10,811.41

AI 导读

一位开发者因一个 Durable Object 告警陷入无限循环,产生 6 万亿次读写,收到 10811.41 美元的 Cloudflare 账单。作者称已全额付款,未获退款,支持工单只收到机器人循环回复,Cloudflare 员工表示只能看看。作者表示将把所有项目迁出 Cloudflare,改用自托管 VPS,并指出 Cloudflare 没有硬性消费上限,循环一直运行到账单到来。

正文 · 原文

Original post

Follow-up

Hit by a Cloudflare bill assassin: a $10k bill. The cause was a Durable Object alarm in an infinite loop in one project, which did 6 trillion reads and writes. Vibe coding failed me.

Update from the author:

  • Paid the full Cloudflare bill (US$10,811.41) — “the second most expensive lesson of my life”.
  • The support ticket for a reduction only got bot replies in a loop.
  • Cloudflare staff contacted on X and other channels said they could only “take a look”, nothing more.
  • All projects will move off Cloudflare to self-hosted VPS.

Conclusion: One vibe-coded Durable Object alarm kept rescheduling itself forever. Cloudflare has no hard spending limit, so the loop ran until the invoice came. Not refunded — the author paid in full.


tldr: An infinite loop in a Durable Object alarm did 6 trillion reads/writes and caused a $10,811.41 Cloudflare bill that was not refunded.

来源:Hacker News · serverlesshorrors.com