EN

This is the category containing all my english articles

6 Articles
CRDTs – simple yet powerful tools for managing state update

CRDTs – simple yet powerful tools for managing state update

Conflict-Free Replicated Data Types (CRDTs) are powerful data structures that ensure consistency across distributed systems, even when updates come from multiple sources. This article delves into three common types of CRDTs: Grow-Only CRDTs, Last-Write-Wins Registers (LWWR) and Two-Phase Sets (2P-Set).
Each CRDT type is explained with examples and implementations in JavaScript, offering practical insights for distributed systems design. Whether you’re building real-time collaborative apps or distributed databases, CRDTs provide robust tools for maintaining eventual consistency.