Build high-performance edge APIs with Workers, KV for caching, and Durable Objects for real-time coordination.
| Workers | Request handling, API logic | Stateless, 50ms CPU (free), 30s (paid) | | KV | Caching, config, sessions | Eventually consistent, fast reads | | Durable Objects | Real-time, coordination | Strongly consistent, single-threaded | | R2 | File storage | S3-compatible, no egress fees | | D1 | SQLite at edge | Serverless SQL, good for reads |
| 1101 | Worker threw exception | | 1102 | CPU time limit exceeded | | 1015 | Rate limited by Cloudflare | | 524 | Origin timeout (>100s) |
Cloudflare Workers, KV, oggetti durevoli e sviluppo dell'edge computing. Utilizzare per API serverless, memorizzazione nella cache, limitazione della velocità e funzionalità in tempo reale. Attiva su "Lavoratori", "KV", "Oggetti durevoli", "wrangler", "funzione edge", "Cloudflare". NON per la configurazione di Cloudflare Pages (utilizzare i documenti di distribuzione), la gestione DNS o le impostazioni generali del CDN. Fonte: erichowens/some_claude_skills.