Overview

Cloudflare has built a global edge cloud platform with Workers, R2, and D1, delivering distributed computing, storage, and database capabilities. Cloudflare's network spans 330+ cities worldwide for ultra-low-latency delivery of applications and content. Workers is an edge computing platform based on the Service Worker API, R2 is object storage with zero egress fees, and D1 is a globally distributed SQLite-based database.

Cloudflare Cloud Services is serverless-first, ideal for building global low-latency applications, static content acceleration, and serverless backends, letting developers run code at the edge without managing servers.

Key Strengths

  • Global Edge Coverage: 330+ city nodes with nearest-user responses and ultra-low-latency delivery.
  • Workers Edge Computing: Execute JavaScript/WASM code at the global edge via the Service Worker API.
  • R2 Zero Egress: S3-compatible object storage with no egress fees, far cheaper than mainstream object storage.
  • D1 Global Database: A globally distributed relational database based on SQLite with nearest-node reads/writes.
  • Serverless Architecture: Workers + R2 + D1 build full-stack serverless applications without operations.

Product Ecosystem

Workers Edge Computing

An edge computing platform based on the Service Worker API executing JavaScript/WASM code at the global edge with millisecond responses and 100,000 free requests/day.

R2 Object Storage

S3-compatible object storage with zero egress fees and 10GB free, ideal for static assets, backups, and media.

D1 Database

A globally distributed relational database based on SQLite with 5GB free, ideal for the data layer of serverless applications.

Queues & Workers AI

Messaging queues and Workers AI inference, supporting async tasks and edge AI inference for complete serverless backends.

Limitations

  • Limited Compute: Hard CPU time limits make it unsuitable for long-running or complex tasks.
  • Higher Enterprise Pricing: Enterprise features and higher quotas carry significant costs.
  • Architecture Adaptation: Not suited to traditional monoliths or complex long-running compute; migration requires refactoring.

Use Cases

  • Global Low-Latency Applications (★★★★★): Workers run at the global edge with nearest-user responses.
  • Static Content Acceleration (★★★★★): Global CDN acceleration for static assets—see the CDN beginner's guide.
  • Serverless Backends (★★★★★): Workers + R2 + D1 build full-stack serverless applications.
  • Edge AI Inference (★★★★): Workers AI provides inference at the edge.
  • Complex Long-Running Compute (★★): CPU limits are notable; combine with traditional cloud servers.

Pricing

Service Free Tier Beyond
Workers 100,000 requests/day $0.30/M requests
R2 Storage 10GB $0.015/GB/month
D1 Database 5GB $0.75/GB/month
Workers AI by usage varies by model

Pricing is transparent and usage-based with a free tier for getting started; see the official site for current prices.

FAQ

  • Can Cloudflare Workers replace traditional servers? Suitable for stateless and lightweight compute; complex compute still requires traditional servers—see the edge computing & CDN convergence guide.
  • How does R2 differ from S3? R2 has zero egress fees and is S3-compatible with low migration cost for cost-sensitive scenarios—see the R2 migration guide.
  • Is it suitable for Chinese users? Mainland access is affected by international links; combine domestic CDN or nodes—see the cross-border website guide.
  • How is data security handled? Edge security and encryption capabilities, combined with the website security checklist.