Snapshot algorithm
A snapshot algorithm is used to create a consistent snapshot of the global state of a distributed system. Due to the lack of globally shared memory and a global clock, this is not trivially possible.
A snapshot algorithm is used to create a consistent snapshot of the global state of a distributed system. Due to the lack of globally shared memory and a global clock, this is not trivially possible. ==Example== Several computers work together in a distributed system. Each of them represents a bank account holding a certain amount of money. The participants can transfer money between their accounts by exchanging the messages. To calculate the overall balance, just requesting the balance of each participant can lead to an incorrect result, as different accounts might be recorded before or after any transfers in progress. But a snapshot algorithm would avoid this as it makes sure to record the whole state in a point in time. ==Algorithms== Chandy–Lamport algorithm Lai–Yang algorithm Spezialetti–Kearns algorithm Mattern's algorithm ==References==
References
- Vijay K. Garg (23 May 2002). Elements of Distributed Computing . John Wiley & Sons. p. 121. ISBN 978-0-471-03600-5 . Wikipedia revision 1354737915, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1354737915
Cite this reference
MLA "Vijay K. Garg (23 May 2002). Elements of Distributed Computing . John Wiley & Sons. p. 121. ISBN 978-0-471-03600-5 . Wikipedia revision 1354737915, retrieved 2026-11-18." Vijay K. 2026-11-17. https://books.google.com/books?id=NlVBtVPeR0QC&dq=%22Snapshot+algorithm%22&pg=PA121. Accessed 24 November 2026.
Chicago "Vijay K. Garg (23 May 2002). Elements of Distributed Computing . John Wiley & Sons. p. 121. ISBN 978-0-471-03600-5 . Wikipedia revision 1354737915, retrieved 2026-11-18." Vijay K. 2026-11-17. https://books.google.com/books?id=NlVBtVPeR0QC&dq=%22Snapshot+algorithm%22&pg=PA121.
APA Vijay K. (2026). Vijay K. Garg (23 May 2002). Elements of Distributed Computing . John Wiley & Sons. p. 121. ISBN 978-0-471-03600-5 . Wikipedia revision 1354737915, retrieved 2026-11-18. Retrieved November 24, 2026, from https://books.google.com/books?id=NlVBtVPeR0QC&dq=%22Snapshot+algorithm%22&pg=PA121
Cite this article
MLA
"Snapshot algorithm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/snapshot-algorithm. Accessed 24 November 2026.
Chicago
"Snapshot algorithm." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/snapshot-algorithm.
APA
encyclopegia.org. (2026). Snapshot algorithm. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/snapshot-algorithm
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON