

How Durable Objects and D1 Work: A Deep Dive with Cloudflare’s Josh Howard
4 snips May 14, 2025
Josh Howard, Senior Engineering Manager at Cloudflare, dives into the innovative world of Durable Objects and D1 products. He discusses how Cloudflare's unique approach to stateful serverless infrastructure revolutionizes cloud computing. Explore the intricacies of V8 isolates, routing strategies, and the tradeoffs between stateless and durable models. Learn about the performance of local storage writes, storage replication, and the fascinating relationship between Durable Objects and modern game applications. Discover how these advancements enhance developer experiences!
AI Snips
Chapters
Transcript
Episode notes
Durable Objects Power Stateful Serverless
- Durable Objects provide a primitive for building stateful serverless applications using V8 isolates, unique to Cloudflare.
- This allows running compute tightly coupled with local state, unlike traditional stateless serverless or container VMs.
Co-locating Compute and Storage
- Durable Objects co-locate compute and state for low-latency local storage access.
- This model enables single coordination points globally, unlike workers which handle stateless code spread worldwide.
Use Stateless Durable Objects for Coordination
- Use stateless Durable Objects to coordinate requests in memory without writing to storage.
- This is useful for batching and controlling upstream resource access, like connection pooling.