Software Engineering Radio - the podcast for professional software developers

SE Radio 667: Ashley Peacock on Cloudflare

11 snips
May 7, 2025
Ashley Peacock, author of Serverless Apps on Cloudflare and an expert in serverless tech, shares insights on Cloudflare's role as a comprehensive developer platform. He discusses the nuances of dependency injection, the advantages of Cloudflare Workers over AWS Lambda, and features like R2 and D1 databases. Ashley elaborates on external databases' benefits, eventual consistency, and strategies for migrating from S3 to R2. Also highlighted are the effectiveness of durable objects for real-time apps and the importance of community resources for those starting with Cloudflare.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Cloudflare's Focused Developer Platform

  • Cloudflare started as a cloud security and CDN company, now evolved into a focused developer platform like AWS but with fewer, core building blocks.
  • Its approach prioritizes ease of use and developer experience, designed fully serverless from the ground up.
ADVICE

Use Bindings for Resource Injection

  • Use bindings to connect your worker to Cloudflare resources; they inject dependencies like databases or caches automatically at runtime.
  • Manage multiple environments easily by specifying bindings in your config file without handling secrets or connection strings manually.
INSIGHT

No Cold Starts in Cloudflare Workers

  • Cloudflare workers experience almost no cold start latency due to their V8 runtime and warm-up during TLS handshakes.
  • This results in near-instant execution compared to traditional serverless platforms like AWS Lambda.
Get the Snipd Podcast app to discover more snips from this episode
Get the app