Solving the at-most-once problem with nearly optimal effectiveness

  • Authors:
  • Sotirios Kentros;Aggelos Kiayias

  • Affiliations:
  • Computer Science and Engineering, University of Connecticut, Storrs;Computer Science and Engineering, University of Connecticut, Storrs

  • Venue:
  • ICDCN'12 Proceedings of the 13th international conference on Distributed Computing and Networking
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present and analyze a wait-free deterministic algorithm for solving the at-most-once problem: how m shared-memory fail-prone processes perform asynchronously n tasks at most once. Our algorithmic strategy provides for the first time nearly optimal effectiveness, which is a measure that expresses the total number of tasks completed in the worst case. The effectiveness of our algorithm equals n−2m+2. This is up to an additive factor of m close to the known effectiveness upper bound n−m+1 over all possible algorithms and improves on the previously best known deterministic solutions that have effectiveness only n−logm ·o(n). We also present an iterated version of our algorithm that for any $m = \mathrm{O}(\sqrt[3+\epsilon]{n/\log n})$ is both effectiveness-optimal and work-optimal, for any constant ε0. We then employ this algorithm to provide a new algorithmic solution for the Write-All problem which is work optimal for any $m=\mathrm{O}(\sqrt[3+\epsilon]{n/\log n})$ .