Causal Delivery and Dependency Checks

Delay an update until its required predecessors can be observed while allowing independent updates to arrive in different orders.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. A dependent record carries information about its prerequisites
  2. Concurrent updates need a separate application rule

A dependent record carries information about its prerequisites

Suppose a comment is created only after reading a published document revision. A replica offering causal visibility must not show that comment to a reader while withholding the revision it depends on. A dependency representation can include version data describing what the writer had seen before producing the new record. Replicas wait until their local view covers those dependencies, or obtain missing state under the protocol.

Concurrent updates need a separate application rule

Two users working independently may create changes without an ordering edge. Causal delivery can permit either order for those changes. If they modify the same object, convergence and conflict handling still need semantics. Vector clocks help tell such cases apart. Causal distributed storage examines richer dependency tracking and its relationship to replica visibility.[1][2]

References

  1. Leslie Lamport, Time, Clocks, and the Ordering of Events in a Distributed System ↩
  2. Giuseppe DeCandia et al., Dynamo: Amazon’s Highly Available Key-Value Store ↩