A coded shared atomic memory algorithm for message passing architectures

Viveck R. Cadambe, Nancy Lynch, Muriel Mèdard, Peter Musial

    Research output: Contribution to journalArticlepeer-review

    11 Scopus citations

    Abstract

    This paper considers the communication and storage costs of emulating atomic (linearizable) multi-writer multi-reader shared memory in distributed message-passing systems. The paper contains three main contributions: (1) we present an atomic shared-memory emulation algorithm that we call Coded Atomic Storage (CAS). This algorithm uses erasure coding methods. In a storage system with N servers that is resilient to f server failures, we show that the communication cost of CAS is NN-2f. The storage cost of CAS is unbounded. (2) We present a modification of the CAS algorithm known as CAS with garbage collection (CASGC). The CASGC algorithm is parameterized by an integer δ and has a bounded storage cost. We show that the CASGC algorithm satisfies atomicity. In every execution of CASGC where the number of server failures is no bigger than f, we show that every write operation invoked at a non-failing client terminates. We also show that in an execution of CASGC with parameter δ where the number of server failures is no bigger than f, a read operation terminates provided that the number of write operations that are concurrent with the read is no bigger than δ. We explicitly characterize the storage cost of CASGC, and show that it has the same communication cost as CAS. (3) We describe an algorithm known as the Communication Cost Optimal Atomic Storage (CCOAS) algorithm that achieves a smaller communication cost than CAS and CASGC. In particular, CCOAS incurs read and write communication costs of NN-f measured in terms of number of object values. We also discuss drawbacks of CCOAS as compared with CAS and CASGC.

    Original languageEnglish (US)
    Pages (from-to)49-73
    Number of pages25
    JournalDistributed Computing
    Volume30
    Issue number1
    DOIs
    StatePublished - Feb 1 2017

    All Science Journal Classification (ASJC) codes

    • Theoretical Computer Science
    • Hardware and Architecture
    • Computer Networks and Communications
    • Computational Theory and Mathematics

    Fingerprint Dive into the research topics of 'A coded shared atomic memory algorithm for message passing architectures'. Together they form a unique fingerprint.

    Cite this