Supabase Realtime's broadcasting model is a natural fit for drawing rooms, each room becomes a channel, and stroke events are broadcast to all participants. Connection management, reconnection, and channel cleanup are handled by the library.
Rolling raw WebSockets would have required a separate backend process for connection state. Supabase Realtime kept the stack Next.js-only while still delivering sub-100ms broadcast latency.
The channel model mapped cleanly onto rooms without managing WebSocket infrastructure.