Atomic Broadcast and Its Use to Achieve Sequential Consistency
نویسندگان
چکیده
Atomic broadcast is a powerful communication primitive, which is applied in a natural way in sequentially consistent implementations of various data structures (see 1]). Unfortunately the atomic broadcast algorithm as presented is incorrect. Here some ways of correcting it are analyzed under assumptions of blocking versus nonblocking communication. Two atomic broadcast algorithms are proposed: one correct if it is used in a blocking manner, the other correct unconditionally. The latter algorithm, when used in the sequentially consistent implementations of data structures proposed in 1], ensures the same time complexity as claimed in the original application. 1. Introduction The overhead of ensuring linearizability versus sequential consistency of shared objects in a message passing system under various realistic timing assumptions is well studied in 1]. This note points out that the algorithms for sequential consistency are awed for the model assumed and corrects the algorithms. The errors are subtle; one hinges on issues involving blocking versus nonblocking communication. Speciically, in the original paper, sequentially consistent implementations of several data structures (read/write registers, queues, stacks) are designed using a communication primitive called atomic broadcast. The operations on the data-structures are assumed to be blocking. However, if atomic broadcast is also assumed to be blocking, then the claimed time complexities of the sequentially consistent implementations do not hold. On the other hand, if atomic broadcast is assumed to be nonblocking, then the broadcast algorithm provided is incorrect. In section 2 the assumptions about the computation model are stated, an atomic broadcast primitive is deened, and the architecture of a memory consistency system that uses atomic
منابع مشابه
Partial Replication in the Database State Machine
This paper investigates the use of partial replication in the Database State Machine approach introduced earlier for fully replicated databases. It builds on the order and atomicity properties of group communication primitives to achieve strong consistency and proposes two new abstractions: Resilient Atomic Commit and Fast Atomic Broadcast. Even with atomic broadcast, partial replication requir...
متن کاملFormalizing and Implementing Distributed Ledger Objects
Despite the hype about blockchains and distributed ledgers, no formal abstraction of these objects has been proposed. To face this issue, in this paper we provide a proper formulation of a distributed ledger object. In brief, we define a ledger object as a sequence of records, and we provide the operations and the properties that such an object should support. Implementation of a ledger object ...
متن کاملA Methodological Construction of an Efficient Sequentially Consistent Distributed Shared Memory
The paper proposes a simple protocol that ensures sequential consistency. The protocol assumes that the shared memory abstraction is supported by the local memories of nodes, that can communicate only by exchanging messages through reliable channels. Unlike other sequential consistency protocols, the one proposed here does not rely on a strong synchronization mechanism, such as an atomic broadc...
متن کاملA Methodological Construction of an Efficient Sequentially Consistent Distributed Shared Memory1
The paper proposes a simple protocol that ensures sequential consistency. The protocol assumes that the shared memory abstraction is supported by the local memories of nodes that can communicate only by exchanging messages through reliable channels. Unlike other sequential consistency protocols, the one proposed here does not rely on a strong synchronization mechanism, such as an atomic broadca...
متن کاملExtending The Dimensions of Consistency : Spatial Consistency and Sequential Segments
The Unify system is exploring scalable approaches for designing distributed multicomputers that support a shared memory paradigm. To achieve massive scalability, unify employs highly eecient communication protocols to support new weak consistency sharing models. In particular , Unify introduces the notion of spatial consistency and a non-standard memory type called sequential segments. The comb...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007