CRDTs (Conflict-Free Replicated Data Types) Vocabulary
Learn the vocabulary of a data structure whose concurrent updates always merge into the same final state.
0 / 5 completed
1 / 5
At standup, a dev mentions a data structure whose concurrent updates from different replicas can always be merged deterministically into the same final state, with no central coordinator needed. What is this data structure called?
A conflict-free replicated data type, or CRDT, is a data structure whose concurrent updates from different replicas can always be merged deterministically into the same final state, with no central coordinator needed to resolve a conflict. Requiring a central coordinator for every merge reintroduces the coordination bottleneck CRDTs are specifically designed to avoid. This coordinator-free merging is what lets a CRDT stay available and mergeable even while replicas are partitioned from each other.
2 / 5
During a design review, the team wants a CRDT's merge operation to satisfy commutativity, associativity, and idempotence, so applying the same set of updates in any order or any number of times still converges to one result. Which capability supports this?
Merge-function algebraic properties, specifically commutativity, associativity, and idempotence, guarantee a CRDT converges to the same result regardless of the order updates arrive in or whether one is applied more than once. A merge function with no such guarantees risks a different final state depending on network timing, defeating the whole point of a CRDT. These properties are the mathematical foundation that makes a CRDT's convergence promise actually hold.
3 / 5
In a code review, a dev notices a counter CRDT tracks separate increment and decrement counts per replica internally, rather than storing one single shared numeric value updated directly by every replica. What does this represent?
A state-based CRDT design tracks separate per-replica counts internally, so merging two replicas' states can always deterministically combine them without losing an individual replica's updates. Storing one single shared numeric value updated directly by every replica has no way to merge two diverged copies without a coordinator serializing the updates. This per-replica internal structure is what lets a counter CRDT merge correctly even after replicas have been offline and diverged independently.
4 / 5
An incident report shows a naive shared counter, updated directly by multiple replicas during a network partition, ended up with a final value that silently lost several increments once the partition healed and the replicas' states were reconciled. What practice would prevent this?
Using a counter CRDT that tracks per-replica state internally ensures a merge after a partition heals combines every replica's updates without silently dropping any of them. A single shared numeric value updated directly by multiple replicas has no principled way to reconcile two diverged copies, risking exactly the lost increments this incident describes. This per-replica tracking is precisely the property that makes a CRDT resilient to a network partition.
5 / 5
During a PR review, a teammate asks why the team adopts a CRDT for a replicated counter instead of a single shared numeric value updated directly and synchronized after the fact. What is the reasoning?
A single shared value updated directly by multiple replicas has no principled way to merge two diverged copies once they've been updated independently during a partition. A CRDT's per-replica tracked state guarantees a deterministic, lossless merge precisely because its merge function is commutative, associative, and idempotent by design. The tradeoff is the added memory and complexity of tracking richer internal state than a plain shared value would need.
These modules build the same on-the-job skills as CRDTs (Conflict-Free Replicated Data Types) Vocabulary
— work through them together for a fuller vocabulary set.
Anti-Entropy Vocabulary— useful for Distributed systems consistency & consensus (Solution Architect)
CRDT Vocabulary— useful for Distributed systems consistency & consensus (Solution Architect)
Frequently Asked Questions
What does the "CRDTs (Conflict-Free Replicated Data Types) Vocabulary" vocabulary exercise cover?
This exercise tests real IT vocabulary related to crdts (conflict-free replicated data types) vocabulary through 5 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.
Is this vocabulary exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
How many questions does this exercise have?
This exercise has 5 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.
What happens after I answer a question?
You'll see immediate feedback showing whether your answer was correct, along with a short explanation of why — then a button to move to the next question, and a full results screen at the end.
Can I retry the exercise if I get questions wrong?
Yes. Once you reach the results screen, click "Try again" to reset your answers and go through the exercise from the start as many times as you like.
Do I need to create an account to take this exercise?
No account is needed. Your answers are scored in your browser during the session — nothing is saved to a server, so you can jump straight in.
Is my progress saved if I leave the page?
No — progress within an exercise resets if you navigate away or reload. Each exercise is short enough to complete in a few minutes in one sitting.
Are these vocabulary exercises connected to other topics?
Yes — this module shares real-world context with 9 other vocabulary modules. See "Related vocabulary" below to keep building a connected skill set.
How is this different from reading a glossary or blog article?
Exercises like this one are active recall drills — you have to choose the correct term or phrasing yourself, which builds retention faster than passively reading a definition.
Where can I find more vocabulary exercises?
Browse the full Vocabulary exercises hub for hundreds of modules covering Agile, DevOps, security, databases, architecture, and more — organised by IT role and skill.