CRDT
A data structure used in distributed computing that achieves eventual consistency across multiple replicas without requiring a central coordination node. It is commonly used in collaborative editing and distributed system synchronization scenarios.
Core Facts
CRDTs (Conflict-free Replicated Data Types) achieve compatibility between local storage and multi-device collaboration through deterministic, commutative merge operations.
The core algorithm of real-time collaborative products is OT (Operational Transformation) or the more modern CRDT (Conflict-free Replicated Data Type).
Local-First is a software design philosophy proposed by the Ink & Switch lab in 2019, with the core principle that data is primarily stored on the user's local device.
Timeline (last 90 days)
If Replica adopts a CRDT-like optimistic synchronization model, its value may lie in enabling teams to maintain collaboration continuity under weak network, offline, or cross-organizational scenarios, which complements the traditional model centered on GitHub-hosted repositories.
Operational transformation (OT) suits collaborative text editing but is complex to implement; CRDTs can merge automatically under network partitions but have a large state footprint.
Cross-device sync can rely on local-first synchronization mechanisms, such as those based on CRDTs or Git-style version control, ensuring that offline operations on multiple devices can be merged onto the same canvas.
The replicated event log belongs to the same eventual consistency family as CRDTs or operational transformation (OT), but event logs are more general and do not constrain the data structure of state.
Under a federated architecture, synchronization of collaboration metadata can adopt optimistic replication strategies, such as CRDTs (conflict-free replicated data types) or version-vector-based merge algorithms, to achieve eventual consistency and preserve an audit trail.
Common implementations of CRDTs include grow-only counters, last-write-wins registers, and sequence types based on operational transformation.
In the industry, AutoGPT clusters, Feishu agents, and the underlying layers of Doubao multi-Agent collaboration are all evolving toward the direction of CRDT plus decentralized eventual consistency.
The cost of CRDTs is that data structures are constrained and metadata overhead is relatively large, but in exchange they bring decentralization and offline availability.
Live artifacts typically maintain a shared state model (such as CRDT or operational transformation) so that edits by multiple participants—human or AI—can be merged automatically without manually resolving conflicts.
The technical threshold of building a source control system in-house is reflected at multiple levels, including branch model design, merge strategy (including real-time collaborative merge algorithms such as CRDT or OT), fine-grained permission management (such as RBAC or ABE), tamper-proof audit trails (combining log-structured storage and hash chain technology), and a high-throughput storage layer.
17 more timeline events
All Facts (20)
CRDTs (Conflict-free Replicated Data Types) achieve compatibility between local storage and multi-device collaboration through deterministic, commutative merge operations.
80%VerifiedThe core algorithm of real-time collaborative products is OT (Operational Transformation) or the more modern CRDT (Conflict-free Replicated Data Type).
80%VerifiedLocal-First is a software design philosophy proposed by the Ink & Switch lab in 2019, with the core principle that data is primarily stored on the user's local device.
80%VerifiedZed has a built-in CRDT algorithm to support real-time multi-user collaborative editing.
75%VerifiedGoogle Docs uses OT (Operational Transformation) technology, while a new generation of collaborative tools such as Figma and Linear have shifted to CRDT.
75%VerifiedAutomerge and Yjs are the two most widely used open-source CRDT libraries.
70%VerifiedGoogle Docs uses the Operational Transformation (OT) algorithm under the hood, while Figma adopts CRDT (Conflict-free Replicated Data Types); both avoid conflicts by propagating operation intent in real time.
65%UnverifiedZed的实时协作功能采用了CRDT(无冲突复制数据类型)算法
90%UnverifiedTLDraw adopts a collaborative editing architecture based on CRDT (Conflict-free Replicated Data Types), supporting real-time multi-user collaboration.
60%UnverifiedCRDT (Conflict-free Replicated Data Type) was formally proposed by Marc Shapiro et al. in 2011, with its mathematical foundation being Lattice Theory.
60%UnverifiedOperational transformation (OT) suits collaborative text editing but is complex to implement; CRDTs can merge automatically under network partitions but have a large state footprint.
50%UnverifiedCross-device sync can rely on local-first synchronization mechanisms, such as those based on CRDTs or Git-style version control, ensuring that offline operations on multiple devices can be merged onto the same canvas.
50%UnverifiedThe replicated event log belongs to the same eventual consistency family as CRDTs or operational transformation (OT), but event logs are more general and do not constrain the data structure of state.
50%UnverifiedUnder a federated architecture, synchronization of collaboration metadata can adopt optimistic replication strategies, such as CRDTs (conflict-free replicated data types) or version-vector-based merge algorithms, to achieve eventual consistency and preserve an audit trail.
50%UnverifiedThe cost of CRDTs is that data structures are constrained and metadata overhead is relatively large, but in exchange they bring decentralization and offline availability.
50%UnverifiedCommon implementations of CRDTs include grow-only counters, last-write-wins registers, and sequence types based on operational transformation.
50%UnverifiedLive artifacts typically maintain a shared state model (such as CRDT or operational transformation) so that edits by multiple participants—human or AI—can be merged automatically without manually resolving conflicts.
50%UnverifiedThe technical threshold of building a source control system in-house is reflected at multiple levels, including branch model design, merge strategy (including real-time collaborative merge algorithms such as CRDT or OT), fine-grained permission management (such as RBAC or ABE), tamper-proof audit trails (combining log-structured storage and hash chain technology), and a high-throughput storage layer.
50%UnverifiedUniversal Cart's cross-platform state management involves distributed state storage and real-time synchronization protocols, and its cross-retailer scenario is essentially a federated architecture rather than a traditional single database.
50%UnverifiedModeling LLM output as a stream of CRDT operations (such as Insert, Delete, Format operations) rather than whole blocks of text allows AI to safely participate in real-time collaboration, ensuring strong eventual consistency and non-blocking editing.
50%