Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› What is the difference between state-based CRDTs and…
Cyber Security

What is the difference between state-based CRDTs and delta CRDTs?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 31, 2026 Domain: Cyber Security

State-based CRDTs replicate the entire dataset on each sync, which is simple but expensive. Delta CRDTs send only the difference between the old and new state, so they use less bandwidth and converge more efficiently. The trade-off is that delta designs need careful merging logic and are best when updates are relatively small.

How the Two CRDT Styles Replicate Change

State-based CRDTs and delta CRDTs solve the same consistency problem, but they move information differently. A state-based design ships the full local state during synchronisation, which makes the merge model simple and easy to reason about. A delta design ships only the part that changed, so the protocol is lighter on bandwidth and often faster to converge when updates are small and frequent.

The practical difference is not just payload size. Full-state replication tolerates a simpler update pipeline because every sync message contains enough information to reconstruct the sender’s current view. Delta replication depends on the system preserving and merging incremental change fragments correctly, which introduces more moving parts in the merge logic and in the ordering of updates.

Why Delta CRDTs Usually Win on Network Efficiency

Delta CRDTs are most useful when the application updates a large structure in small steps, such as counters, sets, or document-like objects with localized edits. In that case, resending the entire state on each exchange wastes capacity and increases sync latency. Sending only the delta reduces network cost and can shorten the time it takes peers to reach the same value.

That advantage becomes more pronounced as replicas, devices, or regions increase. Full-state exchange scales poorly when the object grows, because each round carries the entire payload whether one field changed or many did. Delta exchange is more selective, but it only stays efficient if the implementation can track and merge change fragments without losing causality or reapplying stale updates.

What Changes in Practice for Design and Debugging

The choice affects more than performance. State-based CRDTs are usually easier to implement and debug because the merge operation is applied to a complete state snapshot. Delta CRDTs demand more discipline around how changes are generated, buffered, transmitted, and merged, especially when replicas can be offline or sync out of order. That extra complexity is the price of finer-grained replication.

For teams building distributed systems, the question is often whether simplicity or efficiency is the primary constraint. If the data object is modest in size and sync frequency is low, the simplicity of state-based replication may outweigh its overhead. If the object is large or change-heavy, delta replication is usually the better fit, provided the merge path is tested under concurrent updates and partial delivery.

Risk and Threat Considerations

Replication strategy changes operational exposure, even when the logic is mathematically convergent. State-based sync can create unnecessary bandwidth pressure and longer recovery windows when large replicas must be exchanged repeatedly. Delta-based sync reduces that load, but it shifts more risk into the correctness of the incremental merge path, where missed, duplicated, or misordered deltas can cause divergence that is harder to diagnose.

Failure mechanism: Full-state exchange wastes capacity and can slow propagation; delta exchange can fail if the system does not preserve enough merge metadata or cannot reconcile concurrent increments correctly.

Impact: The result can be slower convergence, inconsistent replica views, elevated recovery cost, or subtle data corruption that only appears after partitions heal or offline nodes rejoin.

Practitioner Guidance

What to verify: Test both models under realistic payload growth, concurrent writes, and partition recovery. The important question is not only whether the replicas eventually converge, but how much network, CPU, and operational complexity you are buying for each update style.

Decision rule: If the object is small or the implementation team needs the simplest possible merge semantics, state-based replication is often the safer engineering choice. If the object is large and updates are typically incremental, delta replication is usually the better performance choice, but only if you can prove the delta merge path is lossless under reordering and retries.

Practitioner takeaway: Choose state-based CRDTs for simplicity and delta CRDTs for efficiency, but treat delta handling as a correctness-sensitive protocol layer, not just a bandwidth optimisation.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org