Conflict-Free Replicated Data Types (CRDTs)

Replicated data types designed for deterministic convergence under specified delivery and merge conditions.

Method

State-based CRDTs merge monotone semilattice states using join; operation-based variants deliver suitably commuting operations under required causal/reliability conditions.

Applications

Offline-first collaboration and replicated counters/sets.

Advantages

Supports many local updates without synchronous coordination.

Limitations

Convergence requires eventual communication and the construction’s delivery assumptions; not all operations need be idempotent in op-based systems; invariants can require coordination.

Alternatives

Operational transformation, consensus-based replication.

Example

Merge independently incremented grow-only counters.

Editorial clarification

Reviewed against method-specific primary or specialist reference; guarantees are conditional.

Sources

Educational reference only, not professional advice.

All algorithms