Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Durable Objects: Easy, Fast, Correct — Choose three

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Kenton Varda
Word Count
4,074
Language
English
Hacker News Points
22
Summary

Storage in distributed systems is challenging due to potential race conditions and data loss risks. Durable Objects, a special type of Cloudflare Worker with access to persistent storage, faced these issues until recent changes were implemented. These changes include input gates, output gates, and automatic in-memory caching, which have made applications using Durable Objects faster, more intuitive, and less prone to errors by default. Developers can now write code that works well without needing expertise in database management or concurrency control.