billflare.

Watch D1’s daily row quotas while testing

Michal Raczka (@michalraczka) warns that D1’s daily row read and write quotas can stop all D1 queries until midnight UTC, notes that indexes trade reads for extra writes, and moves heavy tests to local Miniflare.

Products
D1Workers
Source
Author experience𝕏
Author
Michal Raczka (@michalraczka)

Key points

  • The author writes that once a daily row read or write quota is hit, no D1 operations can run until midnight UTC.
  • He calls indexes a double-edged sword: they can greatly reduce rows read, but every index adds another written row.
  • In his case, hitting the read/write quota during testing was more limiting than the 500 MB storage limit; his solution is local Miniflare for tests that read or write lots of data.

Original sources

  1. Published

    Original post

    Read on 𝕏

    Michal Raczka (@michalraczka) warns that D1’s daily row read and write quotas can stop all D1 queries until midnight UTC, notes that indexes trade reads for extra writes, and moves heavy tests to local Miniflare.

    Michal Raczka

    @michalraczka · Original 𝕏 post

    D1 is amazing for tinkering with Cloudflare Workers, but you need to watch out for the daily row read/write quotas: - when you hit one, you can't run any D1 operations until midnight UTC - defining indexes is a double-edged sword, it can significantly reduce the number of rows read, but every index adds another written row In my case, hitting the read/write quota during testing is more limiting than the 500 MB storage limit. Solution? Use local Miniflare for any testing that requires reading/writing lots of data.
Author experienceWorkers +1

Dennis: a Spend Management block follows the subscription billing period, not the calendar month

Dennis (@lee8907200) restates the 13 November Spend Management beta and focuses on how service resumes: raise the limit above current-period spend, turn the policy off or remove it, or wait for the next paid-subscription billing period. Creating a limit or deploying a Worker does not start a new period, so the block does not necessarily lift at the next calendar month.

Workers AI

opsfork: a MeloTTS retry loop produced a $391.50 Workers AI charge; a waiver was requested.

Cloudflare Community user opsfork (newsfork.com) asks for a full waiver of a $391.50 Workers AI charge for the billing period October 21 – November 20, 2026. The author says normal Workers AI spend is about $1–2 per day, but an unexpected incident involving the @cf/myshell-ai/melotts model sharply increased billable usage, mainly on November 18–19. According to the author, MeloTTS was scheduled for deprecation on November 20, 2026, yet repeated model failures began around November 17, before that date; those failures triggered a queue retry mechanism, and a defect in the author’s retry implementation amplified the failures, producing about 3.3 million queued messages. The author says almost all affected inference requests were failed or redundant retries of the same few video rendering jobs and produced no usable output. The author acknowledges responsibility for the retry defect, says the loop has been stopped, and lists safeguards already added, including retry limits, exponential backoff, a circuit breaker, and removal of MeloTTS. Requested resolution includes investigating the pre-deprecation failures, excluding the abnormal usage, waiving the amount attributable to the incident or issuing an equivalent one-time account credit, and a revised invoice; the author is willing to pay legitimate normal-usage charges. A formal billing adjustment request was submitted as Billing Support Case #02445560. Community MVP sjr replied that the author needs to work through the billing ticket and that the Community cannot help with billing issues. There is no Cloudflare staff reply on the public thread.

Author experienceObservability +2

Feng Yi: After Observability is billed by write volume, capture all errors and sample only 1%–10% of successful requests; put the body in R2 and set a 7-day expiry

On 2026-11-20, X user @Michael_liyang (Feng Yi), replying to @AdrianPunk115's reminder that from 1 December logs and request tracing will be billed by the volume of data written and stored, wrote: once billing is by write volume, this will change to "capture all errors and sample 1%–10% of successful requests"; a trace keeps only request_id/route/status/duration, and the raw body and prompt go in R2 with a 7-day expiry. The author cautions: estimate bytes written per day before launch, and don't wait for the bill to find that tracing costs more than the business.