← All posts

durable-objects

3 posts tagged “durable-objects”

An Integration Pipeline That Copes When Tools Fail: Effect, Alchemy and Cloudflare

How we built a live integration pipeline demo in TypeScript: Effect for retries, timeouts, a circuit breaker and typed errors; Cloudflare Workers, Queues and Durable Objects to run it; Alchemy to define the infrastructure in the same program; and Foldkit for the page. The stack, the design, and the code.

Four AI Demos on Cloudflare's Free Tier: How We Built Them

We built four working AI demos (document Q&A, invoice reading, quote drafting, and a shop assistant) on Cloudflare Workers, Workers AI, Durable Objects, Workflows, D1, and AI Search, all inside the free allowances. The architecture, the measured cost of each request, and what we learned.

Cloudflare Security Best Practices for AI Apps

The security practices we follow when we put AI on Cloudflare Workers: server-only session state, a budget in front of every model call, safe handling of uploads and saved results, rate limiting at two levels, and the seven layers between the internet and a model call. Written with a focus on keeping the bill under control.