billflare.

Uploads: send large bodies straight to R2 instead of through a Worker

风易 (@Michael_liyang) recommends a flow where the Worker only issues a one-time upload token, the browser uploads directly to R2, and a callback writes the D1 record, so large bodies do not burn Worker CPU or request quota.

Products
WorkersR2D1
Source
Author experience𝕏 post
Author
风易 (@Michael_liyang)

Key points

  • Flow: the front end gets a one-time upload token from the Worker, the browser uploads the file directly to R2, then calls back to the Worker, which writes the record to D1.
  • He says the token should carry an expiry time and a file-path restriction.
  • He says large request bodies then skip the Worker and do not burn its CPU or request quota; an upload only counts as successful after the callback, and a failure re-uploads only the file without re-running the business logic.

Original sources

  1. Published

    Original post

    Read on 𝕏

    风易 (@Michael_liyang) recommends a flow where the Worker only issues a one-time upload token, the browser uploads directly to R2, and a callback writes the D1 record, so large bodies do not burn Worker CPU or request quota.

    风易 | AI 工具链

    @Michael_liyang · Original 𝕏 post

    先说结论:文件上传别让 Worker 当中转。链路:前端→Worker 拿一次性上传 token→浏览器直传 R2→回调 Worker 写 D1 记录。1 token 里带过期时间+文件路径限制;2 大请求体不走 Worker,不烧 CPU 和请求额度;3 传完回调才算成功,失败只重传文件不重走业务逻辑。
Author experienceContainers +1

Four months of CI on Cloudflare Containers: per-use vCPU billing and a hard cap that stopped CI

@kelvin_des describes moving all CI from GitHub Actions to one Cloudflare Container per job and puts the list-price bill for the same 90 days at about $1,608 versus $3,288–$6,502 for GitHub-hosted runners, because Containers bill vCPU on use and his boxes were about 41% busy. He also reports a ledger bug that made his own hard daily minute cap refuse every container, after which he bounds spend by max containers × per-job deadline.

Other

dreampolaris00: registered svrforumx.win by mistake, deleted it the same day, and asked for a goodwill refund.

Cloudflare Community user dreampolaris00 says that on 19 November 2026 the domain svrforumx.win was registered through Cloudflare Registrar by mistake and noticed within minutes. The author says the domain was never used (no website, email, or traffic, only default DNS records), and that auto-renew was turned off, the saved payment method was removed, and the registration was deleted the same day so the domain returned to the registry. The author says Registrar registrations are understood to be final and normally non-refundable, and asks for a one-time exception: a goodwill refund to the original card, or account credit if a card refund is not possible. The author, on the Free plan, says a Billing case could not be opened from the dashboard and that email to billing@cloudflare.com returned only an automated reply. No registration price is stated. Community MVP sjr replied that domain registrations are final and not refundable, as indicated at the time of purchase, and linked the official FAQ. There is no Cloudflare staff reply on the public thread. The topic was later closed automatically.

Author experienceWorkers AI +2

A free Workers AI tool: hash the input and check KV before calling the model

风易 (@Michael_liyang) shares a five-parameter loop for a free AI tool: clean and validate input, use a truncated SHA-256 hash as a KV cache key for 24 hours, and only call Workers AI on a cache miss, capping max_tokens.