AlgoMaster Logo

Conflict-free Replicated Data Types (CRDTs)

Medium Priority13 min readUpdated October 27, 2026
AI Mock Interview

Practice this topic in a realistic system design interview

Premium Video

This video is available to premium subscribers only

Unlock Full Access

How can multiple servers accept updates to the same data at the same time without losing changes?

One approach is to use Conflict-free Replicated Data Types, or CRDTs. A CRDT is a data structure that lets each replica accept writes locally and later merge them with other replicas, so that every replica ends up in the same state without coordinating on each write.

In this chapter, we will understand how CRDTs work, how they merge concurrent updates without coordination, and the trade-offs involved.

1. The Problem: Concurrent Writes on Multiple Replicas

Premium Content

This content is for premium members only.