[Paper Review] Space Bounds for Reliable Multi-Writer Data Store: Inherent Cost of Read/Write Primitives
This paper establishes that emulating a reliable multi-writer atomic register from basic read/write registers incurs a linear space blowup of at least kf registers for k clients and f tolerated failures, and that this space cost cannot be reduced even in sequential executions. In contrast, using Compare-and-Swap (CAS) primitives enables a constant-space, wait-free, and contention-adaptive implementation with optimal time complexity in low-contention scenarios.
Reliable storage emulations from fault-prone components have established themselves as an algorithmic foundation of modern storage services and applications. Most existing reliable storage emulations are built from storage services supporting arbitrary read-modify-write primitives. Since such primitives are not typically exposed by pre-existing or off-the-shelf components (such as cloud storage services or network-attached disks) it is natural to ask if they are indeed essential for efficient storage emulations. In this paper, we answer this question in the affirmative. We show that relaxing the underlying storage to only support read/write operations leads to a linear blow-up in the emulation space requirements. We also show that the space complexity is not adaptive to concurrency, which implies that the storage cannot be reliably reclaimed even in sequential runs. On a positive side, we show that Compare-and-Swap primitives, which are commonly available with many off-the-shelf storage services, can be used to emulate a reliable multi-writer atomic register with constant storage and adaptive time complexity.
Motivation & Objective
- To determine whether read/write primitives alone are sufficient for space-efficient reliable storage emulation in fault-prone environments.
- To investigate whether the space cost of such emulations can be adaptive to concurrency levels, even in sequential runs.
- To identify minimal, widely available hardware primitives—like Compare-and-Swap (CAS)—that enable efficient, constant-space reliable storage implementations.
- To establish tight bounds on storage and time complexity for fault-tolerant multi-writer register emulations under weak correctness guarantees.
- To explore whether the space complexity of read/write-based emulations can be reduced by weakening correctness conditions or using alternative primitives.
Proposed method
- Proves a lower bound on the number of registers required for any fault-tolerant MWMR register implementation using only read/write primitives, showing it must be at least kf for k clients and f failures.
- Uses a covering argument to demonstrate that each write operation by a client can cover f new registers in a sequential run, leading to linear space growth.
- Introduces a modular construction where a single CAS object per server is used to emulate the ABD update primitive, which is then composed into a full multi-writer ABD emulation.
- Employs timestamp-based coordination in the CAS-based algorithm to ensure wait-freedom and correctness, with timestamps ensuring non-decreasing order and uniqueness.
- Analyzes time complexity by bounding the number of unsuccessful CAS calls per client based on unique timestamps less than the target, leading to O(c²) worst-case complexity where c is concurrent clients.
- Derives a constant-space implementation by assigning one CAS object per server, enabling fault tolerance up to a minority of server crashes.
Experimental results
Research questions
- RQ1Is it inherently necessary to use read/write primitives to implement reliable multi-writer registers, or can simpler primitives suffice?
- RQ2Can the space cost of reliable storage emulations be made adaptive to concurrency, even in sequential executions?
- RQ3What is the minimal hardware primitive (e.g., CAS) that enables a constant-space, fault-tolerant, and wait-free implementation of a multi-writer atomic register?
- RQ4Does the linear space lower bound for read/write-based implementations hold even under weak correctness conditions like single-writer safety and solo-termination?
- RQ5Can the worst-case time complexity of CAS-based implementations be improved beyond O(c²) in the presence of high contention?
Key findings
- Any fault-tolerant implementation of a multi-writer atomic register using only read/write primitives requires at least kf registers for k clients and f tolerated failures.
- The space cost of such implementations cannot be reduced adaptively—even in sequential runs—because f new registers are covered per write operation.
- If the number of registers per server is bounded by a constant m, supporting ℓm clients requires f+1 additional servers beyond the ℓf servers implied by the storage lower bound.
- A constant-space, wait-free, and contention-adaptive implementation of a multi-writer atomic register is achievable using a single CAS object per server.
- The time complexity of the CAS-based implementation is O(c²) in the worst case, where c is the number of concurrently executing clients, and matches ABD’s 2-round complexity in contention-free runs.
- The CAS-based algorithm ensures correctness via timestamp-based coordination, with non-decreasing and unique timestamps guaranteeing termination and progress.
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.