04 / case study 03
Realtime Sync
- Role
- Tech lead
- Team
- Three engineers
- Year
- 2024
Drop architecture diagram or product shot
- 180k
- live documents
- 12ms
- merge p99
- 0
- manual conflict prompts
the problem
Two people editing the same record on a flaky connection produced a dialog asking a human to pick a winner. Nobody ever picked correctly.
the approach
A CRDT per document, causal ordering over a thin WebSocket transport, and a compaction pass that keeps history bounded. Conflicts resolve before anyone sees them.