Skip to main content

k-Immediate Snapshot and x-Set Agreement: How Are They Related?

  • Conference paper
  • First Online:
Stabilization, Safety, and Security of Distributed Systems (SSS 2020)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12514))

  • 268 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Weaker progress conditions, such as obstruction-freedom  [14] and non-blocking  [18] have been proposed for \((n-1)\)-resilient algorithms.

  2. 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. 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

  1. Afek, Y., Attiya, H., Dolev, D., Gafni, E., Merritt, M., Shavit, N.: Atomic snapshots of shared memory. J. ACM 40(4), 873–890 (1993)

    Article  MATH  Google Scholar 

  2. Attiya, H., Ellen, F.: Impossibility Results for Distributed Computing. Synthesis Lectures on Distributed Computing Theory. Morgan & Claypool, San Rafael (2014). 162 p

    Book  MATH  Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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

    Article  Google Scholar 

  7. Castañeda, A., Rajsbaum, S., Raynal, M.: Unifying concurrent objects and distributed tasks: interval-linearizability. J. ACM 65(6), 42 (2018). Article 45

    Google Scholar 

  8. Chaudhuri, S.: More choices allow more faults: set consensus problems in totally asynchronous systems. Inf. Comput. 105(1), 132–158 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  9. 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

    Chapter  Google Scholar 

  10. 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)

  11. 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

    Chapter  Google Scholar 

  12. Herlihy, M.P.: Wait-free synchronization. ACM Trans. Program. Lang. Syst. 13(1), 124–149 (1991)

    Article  Google Scholar 

  13. Herlihy, M.P., Kozlov, D., Rajsbaum, S.: Distributed Computing Through Combinatorial Topology. Morgan Kaufmann/Elsevier, Amsterdam (2014). 336 p. ISBN 9780124045781

    Google Scholar 

  14. 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)

    Google Scholar 

  15. Herlihy, M., Rajsbaum, S., Raynal, M.: Power and limits of distributed computing shared memory models. Theoret. Comput. Sci. 509, 3–24 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  16. 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)

    Google Scholar 

  17. Herlihy, M.P., Shavit, N.: The topological structure of asynchronous computability. J. ACM 46(6), 858–923 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  18. Herlihy, M.P., Wing, J.M.: Linearizability: a correctness condition for concurrent objects. ACM Trans. Program. Lang. Syst. 12(3), 463–492 (1990)

    Article  Google Scholar 

  19. Loui, M., Abu-Amara, H.: Memory requirements for agreement among unreliable asynchronous processes. Adv. Comput. Res. 4, 163–183 (1987)

    MathSciNet  Google Scholar 

  20. 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)

    Google Scholar 

  21. 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

    Chapter  Google Scholar 

  22. 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

    Book  MATH  Google Scholar 

  23. Saks, M., Zaharoglou, F.: Wait-free \(k\)-set agreement is impossible: the topology of public knowledge. SIAM J. Comput. 29(5), 1449–1483 (2000)

    Article  MathSciNet  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Michel Raynal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics