The publication, paragraph by paragraph
Find something you read.
Search a project name, a detail, or a topic you half remember.
Related search downloads a model and passage index to your browser.
5 articles shown from 50 published articles. Results link to source passages.
Building Blog Analytics: What the Numbers Can Prove
Building Blog Analytics: What the Numbers Can ProveBuilding the analytics on Cloudflare Workers and D1 taught me three distinctions:Open passageCorrect totals can still break productionD1 row reads measure query work, not audience size. Caching avoids recalculation on hits. Other database work and unmetered retries remain additional; missing cost metadata stays unknown.Open passageCount the event you can observeI moved collection to the HTTP response boundary. The Worker serves the page, checks the response, and records an eligible delivery in D1. Worker-first routing puts the collector in that path, including for clients that never run JavaScript.Open passageHow I Defend My Analytics Against Referrer Spam
What the referrer filter changed…Repeating the referral assessment across panels made one report incur 182,388 D1 row reads. A shared assessment reduced that to 33,259, or 81.8% fewer reads, for the identical historical report. Caching reduces repeated calculation but can leave reports up to an hour old. The D1 incident and repair verification preserve the query details, read accounting, and limits of that result.Open passageBot Detection Without JavaScript: What My Blog Measured
Agent names, signatures, and request purposeIn the saved cohort since the verifier launched, through September 5 UTC, D1 contains nine requests with a stored verified result:Open passageMethod, limits, and revision historyD1 observations, private Worker logs/traces, and Cloudflare RUM are separate collections. A field absent from D1 may exist in operational diagnostics. The published evidence contains selected observations and reviewed aggregates, not access to the private Cloudflare account. Stored signature results are not independent re-verification, and inferred zone matches are not shared-ID joins. No verified count of distinct…Open passageComparing edge page views with a script counterSource Page events / loads Client or visit metric D1 browser-UA class, seven UTC days ending September 2 1,209 578 daily client identifiers Cloudflare Web Analytics, its rolling seven-day dashboard window 113 52 visitsOpen passageCloudflare Turnstile: What Kept Breaking My Signup Form
Put the business boundary in the code…values, not measured safe thresholds. The shared budget remains inside one D1 transaction. Moving its check into an in-memory object would let concurrent Workers admit against separate counts. The transaction reserves before the external call; a subscriber-write failure rolls back admission. A fresh native D1 control admitted once from forty-eight concurrent admission calls for one address, alternating signup and…Open passageProve the outcome after verificationThe new browser, provider and D1 controls above were a later engineering iteration. The completed Inbox cycle remains its own dated production result; it does not certify every subsequent revision. Native dummy-key success, source delivery, Worker activation and a completed subscription each need their own receipt.Open passageGlossary…November 5 Pacific / November 6 UTC Sequential transactional admission D1 batch Checked November 5 Pacific / November 6 UTCOpen passageResults are passages to inspect, including related material. They do not confirm that a remembered topic appears here. Interactive queries run in your browser. Submitting the plain search form sends its query in the URL to this site.
Dispatch
GK-001
A note when there is signal.
Engineering records, failed experiments, and the life around the work.