RAG on Cloudflare: Vectorize, D1, R2 and AI Search
How to build retrieval-augmented generation on Cloudflare with R2, Queues, Vectorize, D1 and AI Search, the limits to plan around, and when to use pgvector.FinOps for AI: keeping GPU and inference bills under control
How AI spend differs from normal cloud spend, when self-hosted GPUs beat API inference, how to tag cost to features and customers, and a monthly review list.AI agents on Cloudflare: Workers, Durable Objects, Agents SDK
How to build AI agents on Cloudflare: what Workers, Durable Objects, the Agents SDK, Workflows and Queues each do, the limits, and a support agent design.Workers AI and AI Gateway: running and controlling inference
What Workers AI and AI Gateway each do, how they are billed, when hosted open models beat a model provider, and the limits to know before you rely on them.Serverless pub/sub and queues: choosing a messaging service
Queues, pub/sub topics, event buses and streams compared: what each guarantees, the managed services on AWS, Google Cloud, Azure and Cloudflare, how to pick.Scaling an LLM app: rate limits, queues and backpressure
What changes between ten users and ten thousand: provider rate limits, queues and priorities, caching, retries with jitter, load shedding and capacity deals.Serverless vs containers vs Kubernetes: where to run what
Functions, managed containers and Kubernetes compared on cost, cold starts, long-running work, GPUs and team size, with a decision table and three scenarios.Event-driven architecture for AI workloads: a practical guide
Why model calls belong behind queues and events: async document and agent jobs, webhooks, fan-out, idempotent retries, backpressure and a worked pipeline.Serverless databases: how they work and when to use one
What makes a database serverless, the main families and current products, where they save money and where they cost more, with a table and a decision guide.Optimise a serverless database: connections, cold starts, cost
Practical tuning for serverless databases: pooling and HTTP drivers, N+1 queries, indexes, replicas and caching, cold starts, spend caps and cost per request.