distributed-snapshot · shipping · also global-state snapshot

Distributed snapshot

A distributed snapshot records a coordinated global state of participating processes and their communication channels.

In the Chandy-Lamport model, channels are reliable and FIFO with finite delivery delays. A process sends one marker on each outgoing channel after recording its state and before sending further messages there. On its first marker a process records its own state and that channel as empty. For each other incoming channel it records the messages received after its own recording and before the marker on that channel. [1]

Every participant must start recording or be reachable from one that does, and markers must be processed in finite time. The recorded global state need not have occurred during the run, but it is reachable from the initial state and the final state is reachable from it, which suffices for detecting stable properties such as termination or deadlock. Collecting records from only reachable participants does not establish a snapshot of a larger disconnected system. This is not a filesystem snapshot or, by itself, a durable backup. [1]

A barrier variant for dataflow graphs blocks each input after its barrier until barriers arrive on all inputs. Acyclic topologies then persist only operator states, while cyclic ones also log records arriving on back-edges. Its evaluation processed 1 billion records on clusters of 5 to 40 nodes. [3]

Relations

related
Storage snapshot, Application-consistent snapshot, Crash consistency, Backup, Consistent cut

Advantages

  • Recording runs concurrently with the underlying computation and does not alter it, so the computation need not be stopped. [1]

Limitations

  • Collecting and assembling the recorded process and channel states is outside the basic protocol and needs a separate algorithm. [1]
  • Blocking an input while waiting for barriers on the others delays and buffers the records on that input. [3]

Citations

  1. Chandy and Lamport (1985): Distributed Snapshots: Determining Global States of Distributed Systems, sections 2-4, ACM TOCS 3(1), 63-75 (accessed 2026-10-23)
  2. Carbone et al. (2015): Lightweight Asynchronous Snapshots for Distributed Dataflows, arXiv:1506.08603, sections 4 and 7 (accessed 2026-10-23)

Further reading

  1. Snapshots and backups: which failures can you recover from? (accessed 2026-10-13)
Sources & caveats
  • chandy-lamport re-read 2026-10-23 for the marker rules, termination conditions and the reachability theorem.
  • abs is the 2015 arXiv barrier-snapshot paper, read for the blocking rule, back-edge logging and the evaluation scale.
  • A companion analysis on snapshot and backup boundaries is listed but not used in prose.
  • The application-quiescing entry links here because quiescing gives one host a consistent point, while a distributed snapshot records a consistent cut across processes and channels.

JSON: /data/terms/distributed-snapshot.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Distributed snapshot. Hesela. 2026-11-16. https://hesela.dev/terms/distributed-snapshot/