CRDT (Collaborative Editing)

Conflict-free replicated data types enabling true collaborative editing with automatic conflict resolution.

Overview

The CRDT system provides:

  • Conflict-free replicated data types (CRDTs)
  • Rich data structures (Text, Map, Array, XML)
  • Automatic conflict resolution
  • Real-time synchronization
  • Offline editing support
  • Yrs/Yjs ecosystem compatibility

Documents

  • Overview - Introduction to CRDTs and Yrs implementation
  • redb Implementation - How CRDT updates are stored persistently using redb