Skip to main content

The Space Complexity of Unbounded Timestamps

  • Conference paper
Book cover Distributed Computing (DISC 2007)

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

Included in the following conference series:

Abstract

The timestamp problem captures a fundamental aspect of asynchronous distributed computing. It allows processes to label events throughout the system with timestamps that provide information about the real-time ordering of those events. We consider the space complexity of wait-free implementations of timestamps from shared read-write registers in a system of n processes.

We prove an \(\Omega(\sqrt{n})\) lower bound on the number of registers required. If the timestamps are elements of a nowhere dense set, for example the integers, we prove a stronger, and tight, lower bound of n. However, if timestamps are not from a nowhere dense set, this bound can be beaten; we give an algorithm that uses nā€‰āˆ’ā€‰1 (single-writer) registers.

We also consider the special case of anonymous algorithms, where processes do not have unique identifiers. We prove anonymous timestamp algorithms require n registers. We give an algorithm to prove that this lower bound is tight. This is the first anonymous algorithm that uses a finite number of registers. Although this algorithm is wait-free, its step complexity is not bounded. We also present an algorithm that uses O(n 2) registers and has bounded step complexity.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abrahamson, K.: On achieving consensus using a shared memory. In: Proc. 7th ACM Symposium on Principles of Distributed Computing, pp. 291ā€“302 (1988)

    Google ScholarĀ 

  2. Afek, Y., Dolev, D., Gafni, E., Merritt, M., Shavit, N.: A bounded first-in, first-enabled solution to the l-exclusion problem. ACM Transactions on Programming Languages and SystemsĀ 16(3), 939ā€“953 (1994)

    ArticleĀ  Google ScholarĀ 

  3. Attiya, H., Fouren, A.: Algorithms adapting to point contention. Journal of the ACMĀ 50(4), 444ā€“468 (2003)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  4. Burns, J., Lynch, N.: Bounds on shared memory for mutual exclusion. Information and ComputationĀ 107(2), 171ā€“184 (1993)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  5. Charron-Bost, B.: Concerning the size of logical clocks in distributed systems. Information Processing LettersĀ 39(1), 11ā€“16 (1991)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  6. Dolev, D., Shavit, N.: Bounded concurrent time-stamping. SIAM Journal on ComputingĀ 26(2), 418ā€“455 (1997)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  7. Dwork, C., Herlihy, M., Plotkin, S., Waarts, O.: Time-lapse snapshots. SIAM Journal on ComputingĀ 28(5), 1848ā€“1874 (1999)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  8. Dwork, C., Waarts, O.: Simple and efficient bounded concurrent timestamping and the traceable use abstraction. Journal of the ACMĀ 46(5), 633ā€“666 (1999)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  9. Fatourou, P., Fich, F.E., Ruppert, E.: Time-space tradeoffs for implementations of snapshots. In: Proc. 38th ACM Symposium on Theory of Computing, pp. 169ā€“178 (2006)

    Google ScholarĀ 

  10. Fich, F., Herlihy, M., Shavit, N.: On the space complexity of randomized synchronization. Journal of the ACMĀ 45(5), 843ā€“862 (1998)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  11. Fidge, C.: Logical time in distributed computing systems. ComputerĀ 24(8), 28ā€“33 (1991)

    ArticleĀ  Google ScholarĀ 

  12. Guerraoui, R., Ruppert, E.: Anonymous and fault-tolerant shared-memory computing. Distributed Computing. A preliminary version appeared in Distributed Computing. In: 19th International Conference, pp. 244ā€“259 (to appear)

    Google ScholarĀ 

  13. Haldar, S., VitĆ”nyi, P.: Bounded concurrent timestamp systems using vector clocks. Journal of the ACMĀ 49(1), 101ā€“126 (2002)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  14. Israeli, A., Li, M.: Bounded time-stamps. Distributed ComputingĀ 6(4), 205ā€“209 (1993)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  15. Israeli, A., Pinhasov, M.: A concurrent time-stamp scheme which is linear in time and space. In: Proc. 6th Int. Workshop on Distributed Algorithms, pp. 95ā€“109 (1992)

    Google ScholarĀ 

  16. Jayanti, P., Tan, K., Toueg, S.: Time and space lower bounds for nonblocking implementations. SIAM Journal on ComputingĀ 30(2), 438ā€“456 (2000)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  17. Lamport, L.: A new solution of Dijkstraā€™s concurrent programming problem. Communications of the ACMĀ 17(8), 453ā€“455 (1974)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  18. Lamport, L.: Time, clocks and the ordering of events in a distributed system. Communications of the ACMĀ 21(7), 558ā€“565 (1978)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  19. Li, M., Tromp, J., VitĆ”nyi, P.M.B.: How to share concurrent wait-free variables. Journal of the ACMĀ 43(4), 723ā€“746 (1996)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  20. Mattern, F.: Virtual time and global states of distributed systems. In: Proc. Workshop on Parallel and Distributed Algorithms, pp. 215ā€“226 (1989)

    Google ScholarĀ 

  21. Mavronicolas, M., Michael, L., Spirakis, P.: Computing on a partially eponymous ring. In: Proc. 10th International Conference on Principles of Distributed Systems, pp. 380ā€“394 (2006)

    Google ScholarĀ 

  22. VitĆ”nyi, P.M.B., Awerbuch, B.: Atomic shared register access by asynchronous hardware. In: Proc. 27th IEEE Symposium on Foundations of Computer Science, pp. 233ā€“243. IEEE Computer Society Press, Los Alamitos (1986)

    Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Andrzej Pelc

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ellen, F., Fatourou, P., Ruppert, E. (2007). The Space Complexity of Unbounded Timestamps. In: Pelc, A. (eds) Distributed Computing. DISC 2007. Lecture Notes in Computer Science, vol 4731. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-75142-7_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-75142-7_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-75141-0

  • Online ISBN: 978-3-540-75142-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics