The Alternatives Issue For tool owners Sign in

CRDT (Conflict-free Replicated Data Type)

A CRDT is a data structure designed so that concurrent edits from multiple clients automatically merge into a consistent result — used to power realtime collaboration without server-side conflict resolution.

In more detail

What it means

CRDTs (LWW, OR-Set, RGA, Yjs's tree-based CRDT, Automerge) let many clients edit shared data concurrently without a central authority resolving conflicts. By 2026 Yjs and Automerge are the production CRDT libraries powering collaborative apps (Notion-style docs, Figma-style canvases, Tiptap-style editors). The trade-off vs OT (operational transformation): CRDTs are simpler to implement at scale but produce larger metadata payloads. Choose CRDTs when you want offline-tolerant collaboration without a central conflict resolver; choose OT when central authority is acceptable and metadata size matters.

Part 1 of 2

When to use it, and when not

Use it for

  • Multi-user collaborative editing.
  • Offline-first apps with conflict resolution.

Part 2 of 2

Common mistakes

  • Using CRDT metadata payloads naively — sizes can balloon.
  • Conflating CRDTs with realtime sync — they solve the merge problem, you still need a transport.

FAQ

Questions readers ask.

What is crdt (conflict-free replicated data type)?

A CRDT is a data structure designed so that concurrent edits from multiple clients automatically merge into a consistent result — used to power realtime collaboration without server-side conflict resolution.

When should you use crdt (conflict-free replicated data type)?

Multi-user collaborative editing. Offline-first apps with conflict resolution.

What are the common mistakes with crdt (conflict-free replicated data type)?

Using CRDT metadata payloads naively — sizes can balloon. Conflating CRDTs with realtime sync — they solve the merge problem, you still need a transport.

Last updated: 2026-06-01. Raw markdown: https://promtable.com/glossary/crdt.md. Found a mistake? Tell us.