Real Customer Use Cases

How companies across industries build, scale, and innovate on Cloudflare's Developer Platform — anonymised from internal customer interviews and case studies.

8
Use Cases
12+
Products Featured
6
Industries
Scale (Region: Earth)
⚡ Edge Compute & API Layer
🚦
E-Commerce / Retail

Smart API Gateway with Persistent Routing & Auth Middleware

A large online retailer needed granular URL routing across multiple backend stacks without touching origin servers. They deployed Workers as an API gateway — using Workers KV to persist routing rules, A/B test splits, and authentication tokens at the edge. Backend migrations between Kubernetes clusters and legacy origins became transparent to end-users. Cache hit rates improved dramatically and latency dropped by over 60%.

Workers Workers KV Cache API
Architecture
User Worker (API GW) KV (routing rules)
Cache API Origin A / Origin B
🎨
Design / SaaS

Dynamic HTML Caching for SEO at Massive Scale

A global design collaboration platform needed SEO-friendly pre-rendered HTML served to crawlers at scale without overloading their origin. Workers intercept requests, detect bots/crawlers, and serve pre-rendered HTML cached at the edge. Non-bot traffic gets the SPA experience. Page indexing improved dramatically with zero origin load for crawlers.

Workers Cache API Workers KV
Architecture
Crawler / User Worker Bot detect
KV (HTML cache) or Origin (SPA)
🏟️
Sports / Entertainment

Real-Time Traffic Shaping & Virtual Waiting Room

A major professional sports league faced massive traffic spikes when ticket sales open — within seconds, hundreds of thousands of fans hit the site simultaneously. Workers act as the traffic orchestration layer: enforcing virtual queues, injecting user-specific session state, and rate-limiting bot traffic. Origin servers never see uncontrolled spikes. Fan experience improved significantly with fair queue ordering.

Workers Workers KV Durable Objects
Architecture
Fans (traffic spike) Worker (queue logic) DO (queue state)
KV (session tokens) Origin (throttled)
🤝 Collaborative & Real-Time Apps
🧑‍💻
Developer Tooling / SaaS

No-Code Application Builder with Real-Time Collaboration

A no-code platform builder needed to deploy thousands of unique customer applications — each with its own frontend, database, and real-time collaboration features. They use Workers for per-customer logic, Durable Objects for WebSocket-backed collaborative editing (similar to Figma's approach), D1 for structured per-app data, R2 for user asset uploads, and Workers KV for edge-cached dynamic content. Pages deploys each customer's React frontend. The entire stack runs on Cloudflare with no other cloud provider.

Workers Durable Objects Workers KV D1 R2 Pages
Architecture
End-user Browser Pages (React SPA) Worker (API)
D1 (app data) + R2 (assets) + DO (WS collab)
🎬
Media / Creator Economy

Full-Stack Digital Creator Platform with AI Content Generation

A platform for digital creators to build course sites and content hubs uses the full Cloudflare developer stack. Workers handle all backend logic; D1 stores lead captures and event data; R2 holds audio and video assets; Stream delivers video-on-demand; Images handles resizing to 8 pre-defined variants; Queues handle async processing jobs; Durable Objects power WebRTC collaborative editing; and Workers AI runs a fine-tuned BERT model for keyword extraction and Llama 3 for content summarization and landing-page generation.

Workers D1 R2 Stream Images Queues Workers AI Durable Objects
Architecture
Creator / Learner Worker (API + logic) D1 + R2
Workers AI (BERT/Llama3) + Queues + Stream/Images
🤖 AI-Powered Applications
🧠
Enterprise / Manufacturing

Internal AI Assistant with RAG for Corporate Knowledge Base

A large enterprise company needed to give employees access to internal documentation and institutional knowledge via a natural-language chat interface — without leaking sensitive data to third-party LLMs. They built a RAG pipeline: documents are chunked and stored as vectors in Vectorize, Workers AI generates embeddings and runs inference (Llama 3 for summarization, SQLizer for query preprocessing), AI Gateway provides a single control plane with rate limiting, observability, and DLP to prevent data leaks. All traffic stays within Cloudflare's network.

Workers AI Vectorize AI Gateway Workers R2
Architecture (RAG Pipeline)
Employee query Worker AI GW
Vectorize (search) Workers AI (inference) Answer
⚙️
Developer Tools / AI

AI App Generation Platform — Millions of Databases at Scale

An AI-powered "vibe coding" platform generates full-stack web applications from natural language prompts. Every generated app gets its own isolated D1 database, Worker, and R2 bucket — potentially millions of databases. Cloudflare D1's usage-based pricing and Durable Object-backed architecture made it the only viable option: the platform creates hundreds of databases per second, with near-zero cost for idle apps and linear cost scaling for viral ones. Workers Workflows handle the async app-generation pipeline.

D1 Workers R2 Workflows Durable Objects
Architecture
Chat prompt Worker (gen logic) Workflows (async)
D1 (per-app DB) + R2 (per-app assets) Live App
🏗️ Platform Engineering & Multi-Tenancy
🏢
MarTech / SaaS

White-Label Website Builder with Per-Customer Custom Domains

A website-builder SaaS needed to give each customer a custom domain with SSL, isolated front-end deployment, and their own subdomain routing — all without managing any server infrastructure. Workers route traffic per-customer, D1 stores customer configurations and sign-up data, R2 stores user assets, Queues handle R2 event notifications, Workflows run background sign-up jobs, Workers AI powers text generation for landing pages, AI Gateway proxies Replicate for image generation, and Cloudflare for SaaS automates custom hostname provisioning and certificate management for every customer domain.

Workers D1 R2 Queues Workflows Workers AI AI Gateway CF for SaaS
Architecture
Customer domain CF for SaaS (SSL) Worker (router)
D1 (config/data) + R2 + Queues + Workers AI
📦 Product Coverage
Workers Workers KV Durable Objects D1 R2 Stream Images Workers AI Vectorize AI Gateway Queues Workflows Pages Cloudflare for SaaS