Abstract
An immediate snapshot object is a high level communication object, built on top of a read/write distributed system in which all except one processes may crash. This object provides the processes with a single operation, denoted \(\mathsf{write\_snapshot}()\), which allows the invoking process to write a value and obtain a set of pairs \(\langle \)process id, value\(\rangle \) satisfying some set containment properties, that represent a snapshot of the values written to the object, occurring immediately after the write step.
Considering an n-process model in which up to t processes may crash, this paper introduces first the k-resilient immediate snapshot object, which is a natural generalization of the basic immediate snapshot (which corresponds to the case \(k=t=n-1\)). In addition to the set containment properties of the basic immediate snapshot, a k-resilient immediate snapshot object requires that each set returned to a process contains at least \((n-k)\) pairs.
The paper first shows that, for \(k,t<n-1\), k-resilient immediate snapshot is impossible in asynchronous read/write systems. Then it investigates a model of computation where the processes communicate with each other by accessing k-immediate snapshot objects, and shows that this model is stronger than the t-crash model. Considering the space of x-set agreement problems (which are impossible to solve in systems such that \(x\le t\)), the paper shows then that x-set agreement can be solved in read/write systems enriched with k-immediate snapshot objects for \(x=\mathsf{max}(1,t+k-(n-2))\). It also shows that, in these systems, k-resilient immediate snapshot and consensus are equivalent when \(1\le t<n/2\) and \(t\le k\le (n-1)-t\). Hence, the paper establishes strong relations linking fundamental distributed computing objects (one related to communication, the other to agreement), which are impossible to solve in pure read/write systems.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
As already indicated, this work was initiated in [9]. Considering k-IS in a system in which up to k processes may crash, this preliminary result showed that, somehow surprisingly, while there is a deterministic \((n-1)\)-resilient algorithm implementing an \((n-1)\)-IS object in an \((n-1)\)-crash read/write system, there is no t-resilient algorithm that implements a t-IS object when \(1\le t<n-1\).
- 3.
An equivalent formulation of the Immediacy property is: \(\forall ~i,j:~ \big ((\langle i,- \rangle \in view_j) \wedge (\langle j,- \rangle \in view_i)\big ) \Rightarrow (view_i = view_j)\).
References
Afek, Y., Attiya, H., Dolev, D., Gafni, E., Merritt, M., Shavit, N.: Atomic snapshots of shared memory. J. ACM 40(4), 873–890 (1993)
Attiya, H., Ellen, F.: Impossibility Results for Distributed Computing. Synthesis Lectures on Distributed Computing Theory. Morgan & Claypool, San Rafael (2014). 162 p
Borowsky, E., Gafni, E.: Immediate atomic snapshots and fast renaming. In: Proceedings of the 12th ACM Symposium on Principles of Distributed Computing (PODC 1993), pp. 41–50. ACM Press (1993)
Borowsky, E., Gafni, E.: Generalized FLP impossibility results for \(t\)-resilient asynchronous computations. In: 25th ACM Symposium on Theory of Computing, pp. 91–100. ACM Press (1993)
Borowsky, E., Gafni, E.: A simple algorithmically reasoned characterization of wait-free computations. In: Proceedings of the 16th ACM Symposium on Principles of Distributed Computing (PODC 1997), pp. 189–198. ACM Press (D1997)
Borowsky, E., Gafni, E., Lynch, N., Rajsbaum, S.: The BG distributed simulation algorithm. Distrib. Comput. 14, 127–146 (2001). https://doi.org/10.1007/PL00008933
Castañeda, A., Rajsbaum, S., Raynal, M.: Unifying concurrent objects and distributed tasks: interval-linearizability. J. ACM 65(6), 42 (2018). Article 45
Chaudhuri, S.: More choices allow more faults: set consensus problems in totally asynchronous systems. Inf. Comput. 105(1), 132–158 (1993)
Delporte, C., Fauconnier, H., Rajsbaum, S., Raynal, M.: t-resilient immediate snapshot is impossible. In: Suomela, J. (ed.) SIROCCO 2016. LNCS, vol. 9988, pp. 177–191. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-48314-6_12
Delporte, C., Fauconnier, H., Rajsbaum, S., Raynal, M.: \(t\)-resilient \(k\)-immediate snapshot and its relation with agreement problems. Technical report, ArXiv:2010.00096, 15 p. (2020)
Gafni, E., Rajsbaum, S.: Distributed programming with tasks. In: Lu, C., Masuzawa, T., Mosbah, M. (eds.) OPODIS 2010. LNCS, vol. 6490, pp. 205–218. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-17653-1_17
Herlihy, M.P.: Wait-free synchronization. ACM Trans. Program. Lang. Syst. 13(1), 124–149 (1991)
Herlihy, M.P., Kozlov, D., Rajsbaum, S.: Distributed Computing Through Combinatorial Topology. Morgan Kaufmann/Elsevier, Amsterdam (2014). 336 p. ISBN 9780124045781
Herlihy, M.P., Luchangco, V., Moir, M.: Obstruction-free synchronization: double-ended queues as an example. In: Proceedings of the 23th International IEEE Conference on Distributed Computing Systems (ICDCS 2003), pp. 522–529. IEEE Press (2003)
Herlihy, M., Rajsbaum, S., Raynal, M.: Power and limits of distributed computing shared memory models. Theoret. Comput. Sci. 509, 3–24 (2013)
Herlihy, M.P., Shavit, N.: A simple constructive computability theorem for wait-free computation. In: 26th ACM Symposium on Theory of Computing, pp. 243–252. ACM Press (1994)
Herlihy, M.P., Shavit, N.: The topological structure of asynchronous computability. J. ACM 46(6), 858–923 (1999)
Herlihy, M.P., Wing, J.M.: Linearizability: a correctness condition for concurrent objects. ACM Trans. Program. Lang. Syst. 12(3), 463–492 (1990)
Loui, M., Abu-Amara, H.: Memory requirements for agreement among unreliable asynchronous processes. Adv. Comput. Res. 4, 163–183 (1987)
Neiger, G.: Set-linearizability. In: Brief Announcement in Proceedings of the 13th ACM Symposium on Principles of Distributed Computing (PODC 1994), p. 396. ACM Press (1994)
Rajsbaum, S.: Iterated shared memory models. In: López-Ortiz, A. (ed.) LATIN 2010. LNCS, vol. 6034, pp. 407–416. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-12200-2_36
Raynal, M.: Concurrent Programming: Algorithms, Principles and Foundations. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-32027-9. 515 p. ISBN 978-3-642-32026-2
Saks, M., Zaharoglou, F.: Wait-free \(k\)-set agreement is impossible: the topology of public knowledge. SIAM J. Comput. 29(5), 1449–1483 (2000)
Acknowledgments
The authors want to thank the referees for their constructive comments. This work has been partially supported by the French ANR project DESCARTES (16-CE40-0023-03) devoted to layered and modular structures in distributed computing, and the UNAM-PAPIIT projects IN107714, IN106520.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Delporte, C., Fauconnier, H., Rajsbaum, S., Raynal, M. (2020). k-Immediate Snapshot and x-Set Agreement: How Are They Related?. In: Devismes, S., Mittal, N. (eds) Stabilization, Safety, and Security of Distributed Systems. SSS 2020. Lecture Notes in Computer Science(), vol 12514. Springer, Cham. https://doi.org/10.1007/978-3-030-64348-5_8
Download citation
DOI: https://doi.org/10.1007/978-3-030-64348-5_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-64347-8
Online ISBN: 978-3-030-64348-5
eBook Packages: Computer ScienceComputer Science (R0)