Video: Durable Objects - Everything Everywhere All At Once For Not Very Much Money

Rate this content
Bookmark
The video discusses the benefits and limitations of Durable Objects, a technology by Cloudflare that allows developers to build stateful, collaborative applications. Durable Objects eliminate the need for provisioning databases and Kubernetes clusters, making development simpler and more cost-effective. The talk covers how Durable Objects can handle state management by storing data both in-memory and in a built-in key-value store, ensuring data persistence. It also explains how WebSocket connections can be used to build push-based systems, enabling real-time updates. The video highlights use cases like multiplayer games, chat rooms, and collaborative whiteboards. It mentions that Durable Objects are billed based on compute, storage, and memory usage, and have limitations like a 128 MB RAM cap and 128 KB storage limit per value. The technology is suitable for applications requiring long-lived sessions and state storage, and can handle authorization through HTTP endpoints. The talk also touches on the potential of co-locating compute and storage at the edge, making it a powerful paradigm for distributed computing. Reflect, a multiplayer state sync platform, is an example of a commercial app built on this technology.

This talk has been presented at React Day Berlin 2023, check out the latest edition of this React Conference.

Jani Eväkallio
Jani Eväkallio
31 min
08 Dec, 2023

Comments

Sign in or register to post your comment.