Cloudflare Platform Deep Dive
Intermediate · 13 missions · about 4 hours
Go beyond "deploy a Worker" and learn the whole Cloudflare developer platform: bindings, KV, R2, D1, Durable Objects, Cron Triggers, Queues, caching, Workers AI and custom domains. You will know which tool fits which job, write and test real Worker code, and finish by shipping a live URL shortener.
Missions
- Workers: the fetch handler and env bindings: How a Worker receives requests, reads settings and secrets, and works after responding.
- wrangler.jsonc, environments and custom domains: Read and write Worker config with confidence, then put it on your own domain.
- Workers KV: a global key-value store: Save, cache and list keys, and design around eventual consistency.
- R2 object storage: upload and serve files: Store files in R2 and serve them with the right type, ETags and safe keys.
- D1 in depth, and choosing the right storage: Transactions, query results and indexes, plus when to use KV, R2, D1 or Durable Objects.
- The Cache API: caching responses at the edge: Store responses in Cloudflare’s cache from code, and avoid the classic traps.
- Cron Triggers: scheduled jobs: Run an uptime checker every 5 minutes and a cleanup every night.
- Queues: background work with retries: Move slow or fragile work out of the request, safely.
- Durable Objects: one coordinator per thing: Strongly consistent state for counters, rooms and bookings.
- Workers AI: running models on Cloudflare: Call AI models through a binding, pick them well, and treat output as untrusted.
- Design a Cloudflare architecture with AI: Get an AI to choose the right building blocks, and make it explain why.
- Fix the AI's page-view counter Worker: Global state, text-vs-number bugs, lost background work and a missing content type.
- Boss: ship a KV-backed URL shortener: A live Worker with KV, a secret admin token and a JSON API.
Part of: AI Product Engineer career path, Indie SaaS Founder career path, Backend & Cloud Engineer career path