Insights

Insights.

What we learn building and running real products: planning and launching for founders, and the engineering details for the curious.

Wrangler environments: real staging, and the cron we forgot

How we run a full staging copy of a Cloudflare Workers app with Wrangler environments, what's inherited and what isn't, and the cron that quietly ran on staging.

Workers Analytics Engine as product analytics, without user IDs

Using Workers Analytics Engine for app analytics with no user IDs: data point layout, SQL weighted by _sample_interval, the limits, and where a Durable Object fits.

Workers AI free neurons: 10,000 a day, and not paying by accident

Workers AI gives each account 10,000 free neurons a day, and on Workers Paid going over bills instead of failing. How we meter the allowance from a Worker.

Moderating a public chat app with Workers AI: batch review with Clef

How Perron reviews every chat post with Cloudflare Workers AI in batches of 40, why Cloudflare's Clef model beat the guard models we tried, and what a post costs.

Six static sites on Cloudflare Workers, one hostname each

How we host six sites on Workers static assets: one Worker per hostname, _headers cache rules, real 404 pages, IndexNow, and a build that fails on broken links.

Self-hosting Expo OTA updates on Cloudflare Workers and R2

We ship over-the-air updates to our Expo apps from our own Worker and R2 bucket, with code signing and gradual rollouts, and four requirements that failed silently.

One Next.js Worker for every tenant: multi-tenant sites with OpenNext

How Lorenly serves every salon's site from one Next.js Worker: tenant lookup by host, custom domains without Cloudflare for SaaS, a host-keyed cache, fast purges.

Chat rooms on Durable Objects: hibernation, one object per room

How Perron runs a chat room at every Dutch train station on Durable Objects: WebSocket hibernation, state on the socket, one object per room, alarms and traps.

Cutting Durable Object costs: rows read, polling and idle alarms

Real fixes from Perron's Cloudflare bill: the app that broke at 500 users, a query reading 4.55M SQLite rows, why GROUP BY doesn't help, and alarms that never sleep.

D1, KV, Durable Objects or R2? How we choose Cloudflare storage

How we pick between Cloudflare D1, KV, Durable Objects and R2, from real uses in our apps: chat rooms, cloud saves, leaderboards, OTA updates and uptime alerts.

Cloudflare's rate limiting binding: where it helped, where it didn't

We moved four rate limits from a Durable Object to Cloudflare's native rate limiting binding, measured it, and moved three back. The numbers, and what we kept.

Cloudflare Tunnel and Access service tokens: a Worker calls home

How our Worker calls an AI model on a Mac with no public IP or open ports, using Cloudflare Tunnel, an Access service token and a second key on the server.

Push notifications through Cloudflare Queues: retries and expiry

How Perron fans out push notifications through a Cloudflare Queue: sizing messages, retrying only what failed, an age limit per kind, and a double-count bug.

Cloudflare cron triggers: the subrequest budget that broke our cron

Eleven cron jobs shared one 50-subrequest budget and failed silently. How we split jobs by urgency, alternated heavy work, and metered outcomes in one call.

Cloudflare Access in front of a Worker: verify the JWT anyway

Protecting admin pages on Cloudflare Workers with Access: verifying the JWT in the Worker, caching signing keys, disabling workers.dev, and where Turnstile fits.

What to prepare before you talk to an app studio

The few things that turn a first call into a useful one and an estimate into a real number. No technical knowledge needed.

Sending email from a Cloudflare Worker over plain SMTP

How our contact form sends email straight from a Cloudflare Worker to an ordinary mailbox provider, using TCP sockets and about 60 lines of SMTP.

Seamless video loops with Remotion

How we turned our logo into a looping hero video with Remotion, why every animated value is a function of the loop's time, and how we check the seam.

Why Safari would not play our video, and the 30-line Worker that fixed it

Cloudflare Workers static assets answer range requests with the whole file, and Safari refuses to play video served that way. How we found and fixed it.

Never lose a save: cloud saves with immutable blobs and compare-and-swap

A robust design for syncing user data across devices: write-once blobs plus one pointer updated with compare-and-swap, so a save is never overwritten by accident.

Building Expo Android apps locally instead of in the cloud

Release Android builds for an Expo app on our own Linux machines with eas build --local: exact toolchain versions and the Gradle memory settings that work.

Cloudflare Workers free plan limits: running a real app on them

The Workers free plan allows 100,000 requests a day and 10 ms of CPU per request. The full limits table, what they mean, and when to pay $5.

Why Apple rejects apps, and how to get approved next time

The App Store rejections we see most often, what Apple actually means by them, and the fixes that get an app through review on the next try.

Start a project

Have something you want built?

Tell us about it. We reply to every message with an honest take on whether we are the right fit.

Start a project