~/talk

Durable Objects: Don't Tempt Fate, Maintain State

Talkat Jfokus 2025 · 2025-02-03..02-05· [javascript, serverless]
slides:none on file

Durable Objects run on Cloudflare Workers, keep per-key state in memory with on-disk persistence, and serialize all requests to avoid races; a live demo shows a collaborative drawing room that stores up to 1,000 strokes and uses websockets for real‑time sync, and a counter example scaffolds voting via an auto-provisioned object bound to a name. Code is generated with DeepSeek and published on GitHub; region pinning and single-threaded execution deliver strong consistency and reduced latency across the Edge.

AI-written summary · about

  1. 0:00Durable Objects intro
  2. 1:25Why developers need them
  3. 5:20Name debate and actor model
  4. 7:15Pain of managing state
  5. 8:18How Durable Objects solve it
  6. 10:29Programming model and actors
  7. 12:45Live demo: drawing app
  8. 17:05Coffee voting app build
  9. 24:41How they work under the hood
  10. 26:50Key advantages over serverless
  11. 28:57When to use Durable Objects
  12. 29:41Durable Objects vs KV store
  13. 30:25Future of stateful Edge Computing
  14. 31:31Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.