Catalogue / figma-2019-multiplayer-sync

Figma syncs documents through a central server that keeps the last value sent per property, a simplification of CRDTs

Figma, 2019. Multiplayer document syncing.

Organisation
Figma
Evidence
Reported from production
Source
How Figma’s multiplayer technology works

Figma blog, published 2019-10-16

Records

Decision#d1

Build a custom, server-ordered last-writer-wins sync per object property instead of operational transforms

Decision#d2

Apply edits on the client at once and ignore server changes that conflict with unacknowledged local ones

Decision#d3

Store the parent link and sibling position as one property on the child, and have the server reject cycles

Decision#d4

Drop a deleted object's data from the server and keep it in the deleting client's undo buffer

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.