[Paper Review] A Coded Shared Atomic Memory Algorithm for Message Passing Architectures
This paper proposes Coded Atomic Storage (CAS), a message-passing algorithm for emulating atomic shared memory using erasure coding to reduce communication costs. CAS achieves a communication cost of $\frac{N}{N-2f}$ in systems with $N$ servers and $f$ failures, while CASGC extends it with bounded storage via garbage collection. The CCOAS variant further optimizes communication to $\frac{N}{N-f}$, though it relies on strong channel reliability assumptions.
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 a 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 $\frac{N}{N-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 parametrized by an integer $δ$ and has a bounded storage cost. We show that in every execution where the number of write operations that are concurrent with a read operation is no bigger than $δ$, the CASGC algorithm with parameter $δ$ satisfies atomicity and liveness. 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 $\frac{N}{N-f}$ measured in terms of number of object values. We also discuss drawbacks of CCOAS as compared with CAS and CASGC.
Motivation & Objective
- To reduce communication and storage costs in emulating atomic shared memory in message-passing distributed systems.
- To overcome the high communication overhead of replication-based algorithms like ABD and LDR by using erasure coding.
- To design a bounded-storage variant of coded memory that maintains atomicity and liveness under failure constraints.
- To analyze and optimize communication costs while ensuring correctness and liveness under failure models.
- To identify trade-offs between communication efficiency, storage costs, and channel reliability assumptions in coded memory systems.
Proposed method
- Uses erasure coding to store coded elements of data objects across $N$ servers instead of full replicas.
- Employs a quorum-based protocol where write and read operations coordinate via pre-write and finalize messages to ensure consistency.
- Introduces CASGC, which applies garbage collection to discard outdated coded elements, ensuring bounded storage cost.
- Employs an $(N, N-f)$ Maximum Distance Separable (MDS) code in CCOAS to minimize communication by requiring only $N-f$ coded elements per read.
- Relies on reliable message channels for liveness, assuming all pre-write messages are eventually delivered even after write termination.
- Uses a server-side protocol where each server responds to finalize messages with coded elements, enabling readers to reconstruct values from $N-f$ responses.
Experimental results
Research questions
- RQ1Can erasure coding reduce communication costs in atomic shared memory emulation compared to replication-based approaches?
- RQ2What is the minimal communication cost achievable in a coded atomic memory system with $f$ server failures?
- RQ3How can bounded storage be achieved in coded memory systems without sacrificing atomicity or liveness?
- RQ4What are the trade-offs between communication efficiency and channel reliability assumptions in coded memory protocols?
- RQ5Can communication cost be further reduced by optimizing code construction and operation coordination?
Key findings
- CAS achieves a communication cost of $\frac{N}{N-2f}$, which is lower than replication-based schemes like ABD and LDR.
- CAS has unbounded storage cost because servers retain all coded elements for the latest version.
- CASGC achieves bounded storage by garbage collecting outdated coded elements, with storage cost explicitly characterized and dependent on parameter $\delta$.
- CCOAS reduces communication cost to $\frac{N}{N-f}$, achieving the lowest known communication cost among coded memory algorithms.
- CCOAS requires strong channel reliability assumptions—specifically, that pre-write messages are delivered even after write operations terminate—making it less robust in practice.
- CAS and CASGC do not rely on this assumption, making them more resilient to lossy channels than CCOAS.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.