~/talk

Real-Time Multi-User State Management for the Collaborative Web

Talkat OpenJS World 2023 · on Tuesday, 2023-05-09· [frontend-architecture, web-platform]
links:none on file
slides:none on file

An app called Super Duper Fluidy demonstrates a server‑authoritative, optimistic state model that uses webrtc data channels for input and a reliable channel for state, plus a websocket signaling channel. It implements rollback netcode (replay consistency): clients apply inputs locally, buffer pending actions, and the server acknowledges or sends full sync snapshots; clients roll back, apply settled updates, then replay pending inputs. Code is on GitHub and the demo runs across phones, tablets, and browsers.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50Overview
  3. 3:19WebRTC
  4. 5:08Topologies
  5. 11:12Perfect Negotiation
  6. 12:49Websockets
  7. 16:13WebRTC Data Channels
  8. 18:11Rollback Netcode
  9. 22:05How does it work
  10. 23:33When things go wrong
  11. 25:19Resources
  12. 27:09Libraries
  13. 29:47Client side
  14. 31:21Negotiation logic
  15. 33:55Open data channels
  16. 35:47State reducer
  17. 40:50Future of WebRTC
~/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.