~/talk

Building Offline and Real-Time Applications - The Magic of CRDTs

Talkat JSHeroes 2023 · 2023-05-18..05-19· [web3, reactive-programming]
slides:none on file

Demo converts a single‑player to‑do list into a multiplayer app using a last write wins map that adds unique IDs, timestamps and author IDs so operations become commutative, associative and idempotent. The talk shows the system resolving concurrent edits and offline edits (manual example: two users both add index‑3 items, then recover correctly) and claims the server is merely a relay enabling peer‑to‑peer sync. Libraries mentioned: Yjs and Automerge, services: Replicash Partykit Liveblocks.

AI-written summary · about

  1. 0:00Offline and real-time apps
  2. 3:14What are CRDTs
  3. 6:24Why CRDTs for collaboration
  4. 10:18Fixing CRDT conflicts
  5. 12:26Handling offline users
  6. 14:34Timestamp collisions with author IDs
  7. 16:00Idempotency in CRDTs
  8. 17:24Last write wins map example
  9. 19:08Sorting in CRDTs
  10. 20:34Server role in CRDTs
  11. 21:58CRDT libraries and tools
~/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.