~/talk

Durable Objects Don't Tempt Fate, Maintain State

Talkat TheJam.dev 2025 · 2025-02-19..02-20· [javascript, web-platform]
slides:none on file

Cloudflare Durable Objects run on Workers and provide a stateful, single-threaded instance per key that serializes requests, keeps in-memory state with on-disk persistence, and supports long‑lived WebSocket sessions. Live demos include a drawing room demo that broadcasts strokes to connected clients, persists them and enforces a 1000-stroke limit to avoid unbounded growth. Durable Objects route all requests for a key to the same single-threaded instance, trade slightly higher latency for strong consistency, and work for real‑time games, collaborative editors, sessions, and small stateful agents.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Cloudflare developer platform
  3. 6:38Durable Objects explained
  4. 9:11Problem with state in serverless
  5. 9:33Solution with Durable Objects
  6. 10:16How Durable Objects work
  7. 13:46Demo: Collaborative drawing
  8. 18:28Demo: Coffee counter
  9. 19:10Durable Objects use cases
  10. 21:59Why better than traditional servers
  11. 23:43When to use Durable Objects
  12. 24:46Durable Objects vs KV storage
  13. 25:50Future of Durable Objects
  14. 27:37AI agents with Durable Objects
  15. 28:39Further resources
  16. 29:20Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.