Faster than optimal snapshots (for a while): preliminary version

  • Authors:
  • James Aspnes;Hagit Attiya;Keren Censor-Hillel;Faith Ellen

  • Affiliations:
  • Yale University, New Haven, CT, USA;Technion, Haifa, Israel;Massachusettes Institute of Technology, Cambridge, MA, USA;University of Toronto, Toronto, Canada

  • Venue:
  • PODC '12 Proceedings of the 2012 ACM symposium on Principles of distributed computing
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a novel implementation of a snapshot object for n processes, with O(log2blogn) step complexity for update operations and O(logb) step complexity for scan operations, where b is the number of updates. The algorithm uses only reads and writes. For polynomially many updates, this is an exponential improvement on previous snapshot algorithms, which have linear step complexity. It overcomes the existing Ω(n) lower bound on step complexity by having the step complexity depend on the number of updates. The key to this implementation is the construction of a new object consisting of a pair of max registers that supports a scan operation. Applications of this construction include an implementation of a limited-use generalized counter with polylogarithmic step complexity. This can be used, for example, to monitor the number of active processes, which is crucial to adaptive algorithms.