Skip to main content
QUICK REVIEW

[Paper Review] Non-Monotonic Snapshot Isolation

Masoud Saeida Ardekani, Pierre Sutra|arXiv (Cornell University)|Jun 17, 2013
Distributed systems and fault toleranceComputer Science15 references11 citations
TL;DR

This paper proposes Non-Monotonic Snapshot Isolation (NMSI), a consistency model that enables genuine partial replication (GPR) in distributed transactional systems while preserving key benefits of Snapshot Isolation (SI), such as read-only transaction commit and avoidance of conflicting writes. It introduces Jessy, a GPR protocol using dependence vectors and atomic multicast to achieve lower message cost and faster commit than prior approaches, overcoming the impossibility of combining SI and GPR in asynchronous systems.

ABSTRACT

Many distributed applications require transactions. However, transactional protocols that require strong synchronization are costly in large scale environments. Two properties help with scalability of a transactional system: genuine partial replication (GPR), which leverages the intrinsic parallelism of a workload, and snapshot isolation (SI), which decreases the need for synchronization. We show that, under standard assumptions (data store accesses are not known in advance, and transactions may access arbitrary objects in the data store), it is impossible to have both SI and GPR. To circumvent this impossibility, we propose a weaker consistency criterion, called Non-monotonic Snapshot Isolation (NMSI). NMSI retains the most important properties of SI, i.e., read-only transactions always commit, and two write-conflicting updates do not both commit. We present a GPR protocol that ensures NMSI, and has lower message cost (i.e., it contacts fewer replicas and/or commits faster) than previous approaches.

Motivation & Objective

  • To address the scalability limitations of strong synchronization in large-scale distributed transactional systems.
  • To identify the incompatibility between Snapshot Isolation (SI) and genuine partial replication (GPR) in asynchronous message-passing systems.
  • To design a new consistency model, Non-Monotonic Snapshot Isolation (NMSI), that preserves essential SI properties while being compatible with GPR.
  • To develop a practical, efficient GPR protocol (Jessy) that ensures NMSI with reduced message complexity and faster commit times.

Proposed method

  • Decomposes SI into four equivalent properties: no cascading aborts, strictly consistent snapshots, avoidance of conflicting writes, and snapshot monotonicity.
  • Proves that GPR and SI are incompatible by showing that snapshot monotonicity and strict consistency cannot be achieved in an asynchronous system with genuine partial replication.
  • Proposes NMSI as a weakened alternative to SI that retains consistency and conflict resolution guarantees but relaxes monotonicity and strict consistency.
  • Designs Jessy, a GPR protocol that uses dependence vectors—a variant of version vectors—to asynchronously compute consistent partial snapshots.
  • Employs a single atomic multicast for commit coordination, reducing communication overhead compared to multi-phase protocols.
  • Analyzes and compares Jessy’s message complexity ($O(w_r^2)$) and latency against prior protocols, showing improvements in both remote read/write and commit phases.

Experimental results

Research questions

  • RQ1Can Snapshot Isolation (SI) be achieved in a genuine partial replication (GPR) system under standard asynchronous message-passing assumptions?
  • RQ2What are the fundamental incompatibilities between SI and GPR in distributed systems?
  • RQ3Is there a consistency model weaker than SI that preserves its key benefits while being compatible with GPR?
  • RQ4Can a GPR protocol be designed that ensures lower message cost and faster commit than existing approaches while maintaining strong consistency guarantees?
  • RQ5How can consistent partial snapshots be computed efficiently in a distributed system without requiring global consensus or full replication?

Key findings

  • SI and GPR are fundamentally incompatible in asynchronous message-passing systems, as snapshot monotonicity and strict consistency cannot be guaranteed under GPR.
  • NMSI is a viable alternative to SI that preserves read-only transaction commit and prevents conflicting writes, while relaxing monotonicity and strict consistency.
  • Jessy, the proposed protocol, achieves lower message complexity ($O(w_r^2)$) than prior GPR protocols such as P-Store and GMU, which have $O(n^2)$ complexity.
  • Jessy reduces commit latency by using a single atomic multicast for update transaction coordination, outperforming protocols relying on multi-phase consensus or locks.
  • In comparison to SIPRe and Serrano, Jessy reduces message cost for read-only transactions by eliminating the need for start-time broadcast and for dummy transactions.
  • The protocol demonstrates improved performance in both local and global update scenarios, with lower latency for remote reads and faster commit for update transactions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.