The complexity of distributed concurrency control

  • Authors:
  • Paris C. Kanellakis;Christos H. Papadimitriou

  • Affiliations:
  • -;-

  • Venue:
  • SFCS '81 Proceedings of the 22nd Annual Symposium on Foundations of Computer Science
  • Year:
  • 1981

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a formal framework for distributed databases, and we study the complexity of the concurrency control problem in this framework. Our transactions are partially ordered sets, of actions, as opposed to the straight-line programs of the centralized case. The concurrency control algorithm, or scheduler, is itself a distributed program. Three notions of performance of the scheduler are studied and interrelated: (i) its parallelism, (ii) the computational complexity of the problems it needs to solve, and (iii) the cost of communication between the various parts of the scheduler. We show that the number of messages necessary and sufficient to support a given level of parallelism is equal to the minmax value of a combinatorial game. We show that this game is PSPACE-complete. It follows that, unless NP=PSPACE, a scheduler cannot simultaneously minimize communication and be computationally efficient. This result, we argue, captures the quantum jump in complexity of the transition from centralized to distributed concurrency control problems.