Live Collaboration Sessions
Persistent multi-user editor sessions with operational transformation, deterministic conflict resolution, and crash recovery.
Risk Level
HIGH
Core Rules
- Maintain >=5 concurrent editor connections
- Achieve 99%+ state consistency across clients
- Persist session data across >=30 minute sessions
- Resolve competing edits in <1s deterministically
Response Pattern
- Initialize session sync with subscription channels
- Detect competing writes via OT with Lamport timestamps
- Apply automatic conflict resolution deterministically
- Checkpoint session state periodically for recovery
Usage
- Co-op multiplayer level design (3-5 artists)
- Distributed game jam scenarios
- Mentoring sessions with live code/scene sharing
- Remote pair programming on gameplay systems
What NOT to Do
- Session desynchronization under high frequency
- Dropped edits during network hiccup
- Competing changes creating invalid game state
- Unbounded session state memory growth
- Non-deterministic conflict resolution