# SCAR: Strong Consistency using Asynchronous Replication with Minimal   Coordination

**Authors:** Yi Lu, Xiangyao Yu, Samuel Madden

arXiv: 1903.00424 · 2019-03-04

## TL;DR

SCAR is a distributed in-memory database that enables serializable transactions to read from backup replicas with minimal coordination, improving performance and consistency in distributed systems.

## Contribution

SCAR introduces a novel logical timestamp-based approach allowing minimal coordination for reading from backup replicas, with two optimization techniques to enhance efficiency.

## Key findings

- SCAR outperforms traditional systems by up to 2x on benchmarks.
- SCAR achieves higher throughput under reduced isolation levels.
- SCAR detects concurrency anomalies in real time.

## Abstract

Data replication is crucial in modern distributed systems as a means to provide high availability. Many techniques have been proposed to utilize replicas to improve a system's performance, often requiring expensive coordination or sacrificing consistency. In this paper, we present SCAR, a new distributed and replicated in-memory database that allows serializable transactions to read from backup replicas with minimal coordination. SCAR works by assigning logical timestamps to database records so that a transaction can safely read from a backup replica without coordinating with the primary replica, because the records cannot be changed up to a certain logical time. In addition, we propose two optimization techniques, timestamp synchronization and parallel locking and validation, to further reduce coordination. We show that SCAR outperforms systems with conventional concurrency control algorithms and replication strategies by up to a factor of 2 on three popular benchmarks. We also demonstrate that SCAR achieves higher throughput by running under reduced isolation levels and detects concurrency anomalies in real time.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1903.00424/full.md

## Figures

25 figures with captions in the complete paper: https://tomesphere.com/paper/1903.00424/full.md

## References

49 references — full list in the complete paper: https://tomesphere.com/paper/1903.00424/full.md

---
Source: https://tomesphere.com/paper/1903.00424