CRDT
CRDT
ELI5 - The Vibe Check
A CRDT (Conflict-free Replicated Data Type) is a data structure that multiple users can edit simultaneously without conflicts. Google Docs-style collaboration, but mathematically guaranteed to converge. Used in Figma, Linear, Notion, and most modern real-time apps.
Real Talk
Conflict-free Replicated Data Types are data structures designed for distributed systems where multiple nodes can update data independently and concurrently without coordination, then merge results deterministically. Two main families: state-based (CvRDTs) and operation-based (CmRDTs). Examples: G-Counters, LWW-Register, OR-Set, Yjs and Automerge (document CRDTs). Foundational to modern collaborative software.
When You'll Hear This
"We moved from OT to CRDTs for offline-first sync." / "Yjs is the reference CRDT library for documents."
Related Terms
Distributed Systems
A distributed system is what you get when your application isn't running on one computer anymore, it's running on many computers that have to cooperate ove...
Eventual Consistency
Eventual consistency means 'give it a moment and everything will match up.' You write data to one server, and the other servers will get the update...