Combining optimism and pessimism to produce high availability in distributed transaction processing

  • Authors:
  • Joel M. Crichlow

  • Affiliations:
  • Department of Mathematics and Computer Science, The University of the West Indies, St. Augustine, Trinidad and Tobago

  • Venue:
  • ACM SIGOPS Operating Systems Review
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

In a distributed system some or all of the data items are replicated and stored at separate nodes. This increases the availability of these items and it is then possible to complete transactions faster than in single node systems. Hovever the concurrent processing of transactions at separate nodes can generate inconsistencies in the stored information. Some mechanism must be employed to address the inconsistencies that can arise. A system has been designed that allows a transaction to be processed immediately (optimistically) at any individual node in a replicated system as long as the transaction satisfies a cost bound criterion. Such a transaction can make external responses but it does not alter the database. All transactions are also run in a global one-copy serializable manner (pessimistically) at which time their updates are committed. It may be necessary to make another external response. The transaction processing system is expressed as a simple computational model and the correctness of the system is discussed.