Back to Portfolio
02 / Senior Product Engineer • 2025

Kinetix Local-First Multiplayer Canvas

Conflict-free collaborative diagramming studio supporting 120+ concurrent cursors at 60fps.

React 19WebSocketsCRDT (Yjs)IndexedDBNode.js
Kinetix Local-First Multiplayer Canvas
60fpsSync Frame Budget
100%Offline Recovery
78%Payload Compression
01 / The Engineering Challenge

Traditional lock-based server reconciliation caused visible cursor jitter and dropped edits whenever team members worked across unstable mobile networks.

02 / System Topology
01
Local-First Store
IndexedDB + Yjs
02
Presence Relay
Binary Delta Sync
03
Compaction Worker
Snapshot Persistence
04
Object Storage
Versioned Assets
03 / Architectural Solution

Built a binary-encoded Yjs CRDT synchronization layer backed by IndexedDB for instant optimistic writes, throttling ephemeral cursor presence separately from durable document state mutations.

04 / Key Trade-offs & Decisions
  • Implemented periodic server-side state compaction every 500 vector operations to keep initial room hydration under 120ms.
  • Isolated high-frequency canvas pointer coordinates onto an unpersisted broadcast channel to keep document logs lean.
Next Case Study (03)
Prism LLM Trace & Cost Observatory