Catalogue / excalidraw-2020-collaboration

Excalidraw added collaboration with a relay server that only forwards encrypted messages, merging whole element lists on each peer

Excalidraw, 2020. Collaborative whiteboard sessions.

Organisation
Excalidraw
Evidence
Reported from production
Source
Building Excalidraw's P2P Collaboration Feature

Excalidraw blog, published 2020-03-29

Records

Decision#d1

Relay end-to-end encrypted messages through a server that stores and coordinates nothing

Decision#d2

Merge peers' element lists as a union by id, and delete with tombstones

Decision#d3

Resolve concurrent edits with a per-element version number and a random nonce to break ties

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.