Locks, OT or CRDT

Quorum 25

Choose

50 people edit one document at 300 edits/s. At 0:35, 40 phones reconnect after 15 minutes offline and send 6,000 buffered edits in 2 s. Every edit must finish in under 100 ms p99 with no errors. Pick how the editors stay in step.

Goals

Not tested yet

99 of 100 requests finish faster than this.The share of requests that fail or get no answer.What the servers and services cost each month.
Choose a design
Lock the document while someone edits
Send every edit to one server that transforms it
Replicas that merge edits in any order