~/talk

Every Node.js app should have real-time collab features

Talkat Conf42 JavaScript 2023 · on Thursday, 2023-11-16· [nodejs, frontend-architecture]
slides:none on file

Argues that Node.js apps gain retention and faster workflows by adding real‑time collaboration and demonstrates a concrete stack: yjs CRDT for state sync, WebSockets for presence and pub/sub, a central collaboration service that saves snapshots and resolves conflicts, and fractional indexing to keep ordered lists scalable. Implements awareness (avatar stacks, presence), live state sync with undo/redo, and REST for comments. It works with eventual convergence and reconnect resilience but raises CPU/memory and scaling tradeoffs.

AI-written summary · about

  1. 0:00intro
  2. 0:22preamble
  3. 0:44ingredients
  4. 1:47about vladi
  5. 2:12about multiplayer
  6. 4:31what is real-time collaboraion?
  7. 5:44how do you implement it?
  8. 7:04operational transformations and conflict-free replicated data types
  9. 8:28crdts
  10. 9:15y.js
  11. 11:38here's what we do with y.js
  12. 12:31which real-time collaborative features did we implement?
  13. 13:08awareness / presence
  14. 13:58state synchronization
  15. 15:42how to keep track of order
  16. 16:58architecture options
  17. 17:37scope of collaboration
  18. 18:35changes to dependent views
  19. 19:48recap benefits
  20. 20:56final notes
  21. 22:01thank you
~/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.