Skip to main content
QUICK REVIEW

[Paper Review] Brief Announcement: Update Consistency in Partitionable Systems

Matthieu Perrin, Achour Mostéfaoui|arXiv (Cornell University)|Jan 9, 2015
Distributed systems and fault toleranceComputer Science2 references4 citations
TL;DR

This paper proposes update consistency (UC), a new consistency criterion for partitionable distributed systems that ensures replicas converge to a state derived from a total ordering of updates, preserving each process’s sequential order. UC is strictly stronger than eventual consistency and universally implementable, enabling modular, composable, and formally verifiable distributed object implementations via sequential specification and total ordering of updates.

ABSTRACT

Data replication is essential to ensure reliability, availability and fault-tolerance of massive distributed applications over large scale systems such as the Internet. However, these systems are prone to partitioning, which by Brewer's CAP theorem [1] makes it impossible to use a strong consistency criterion like atomicity. Eventual consistency [2] guaranties that all replicas eventually converge to a common state when the participants stop updating. However, it fails to fully specify shared objects and requires additional non-intuitive and error-prone distributed specification techniques, that must take into account all possible concurrent histories of updates to specify this common state [3]. This approach, that can lead to specifications as complicated as the implementations themselves, is limited by a more serious issue. The concurrent specification of objects uses the notion of concurrent events. In message-passing systems, two events are concurrent if they are enforced by different processes and each process enforced its event before it received the notification message from the other process. In other words, the notion of concurrency depends on the implementation of the object, not on its specification. Consequently, the final user may not know if two events are concurrent without explicitly tracking the messages exchanged by the processes. A specification should be independent of the system on which it is implemented. We believe that an object should be totally specified by two facets: its abstract data type, that characterizes its sequential executions, and a consistency criterion, that defines how it is supposed to behave in a distributed environment. Not only sequential specification helps repeal the problem of intention, it also allows to use the well studied and understood notions of languages and automata. This makes possible to apply all the tools developed for sequential systems, from their simple definition using structures and classes to the most advanced techniques like model checking and formal verification. Eventual consistency (EC) imposes no constraint on the convergent state, that very few depends on the sequential specification. For example, an implementation that ignores all the updates is eventually consistent, as all replicas converge to the initial state. We propose a new consistency criterion, update consistency (UC), in which the convergent state must be obtained by a total ordering of the updates, that contains the sequential order of each

Motivation & Objective

  • To address the limitations of eventual consistency in specifying shared objects in partitionable systems.
  • To provide a consistency criterion independent of implementation details, such as message-passing concurrency.
  • To enable formal verification and model checking by decoupling specification from system-level concurrency.
  • To propose a universal, composable consistency model that supports modular programming of distributed objects.
  • To overcome the complexity of concurrent specifications by relying on sequential specifications and total update ordering.

Proposed method

  • Define update consistency (UC) as a consistency criterion requiring all replicas to converge to a state derived from a total order of updates that respects each process’s local sequence.
  • Use Lamport timestamps combined with process IDs to construct a total order on updates, ensuring agreement across replicas.
  • Reconstruct histories a posteriori by replaying updates in the total order to achieve consistent state convergence.
  • Decouple object specification into an abstract data type (sequential behavior) and a consistency criterion (distributed behavior), enabling formal verification.
  • Prove universality of UC by showing any object can be implemented in a partitionable system with arbitrary crash faults using the total-ordering mechanism.
  • Leverage the separation of concerns to support automatic compilation and composability of distributed specifications.

Experimental results

Research questions

  • RQ1Can a consistency criterion be defined that is independent of message-passing concurrency and system-level implementation details?
  • RQ2How can distributed objects be specified and verified using only sequential semantics and a consistency criterion?
  • RQ3Is there a consistency criterion stronger than eventual consistency that guarantees predictable convergence to a correct state?
  • RQ4Can a universal construction be devised to implement any object under update consistency in a partitionable system with arbitrary crash faults?
  • RQ5Can update consistency enable composability in distributed systems, replacing the need for complex compositional implementation techniques?

Key findings

  • Update consistency (UC) is strictly stronger than eventual consistency (EC), ensuring that converged states are derived from a total order of updates that respects each process’s local sequence.
  • A history is update consistent only if it can be linearized such that deletions do not appear after insertions in a way that invalidates the final state, as demonstrated in Figure 1(c).
  • The paper proves that every object has an update consistent implementation in a partitionable system, even under arbitrary crash faults, establishing UC as a universal consistency criterion.
  • The use of Lamport timestamps and process IDs enables a deterministic total order on updates, which can be used to reconstruct consistent states across replicas.
  • Update consistency allows for the automatic compilation of specifications rather than implementations, enabling composability and formal verification via sequential specification.
  • The approach decouples specification from system-level concurrency, making it possible to apply model checking and formal verification techniques to distributed objects.

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.