# Global-Local View: Scalable Consistency for Concurrent Data Types

**Authors:** Deepthi Devaki Akkoorath, Jos\'e Brand\~ao, Annette Bieniusa, Carlos, Baquero

arXiv: 1705.03704 · 2017-05-11

## TL;DR

This paper introduces a scalable programming model for concurrent data types that uses thread-local views and merging to improve performance, sacrificing linearizability for better scalability.

## Contribution

It presents a novel model enabling efficient merging of thread-local views for concurrent data types, balancing performance and consistency.

## Key findings

- Achieves improved scalability over linearizable implementations.
- Efficient merging techniques for multiple data types.
- Analyzes consistency semantics of the proposed model.

## Abstract

Concurrent linearizable access to shared objects can be prohibitively expensive in a high contention workload. Many applications apply ad-hoc techniques to eliminate the need of synchronous atomic updates, which may result in non-linearizable implementations. We propose a new programming model which leverages such patterns for concurrent access to objects in a shared memory system. In this model, each thread maintains different views on the shared object - a thread-local view and a global view. As the thread-local view is not shared, it can be updated without incurring synchronization costs. These local updates become visible to other threads only after the thread-local view is merged with the global view. This enables better performance at the expense of linearizability. We show that it is possible to maintain thread-local views and to perform merge efficiently for several data types and evaluate their performance and scalability compared to linearizable implementations. Further, we discuss the consistency semantics of the data types and the associated programming model.

## Full text

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

## Figures

13 figures with captions in the complete paper: https://tomesphere.com/paper/1705.03704/full.md

## References

19 references — full list in the complete paper: https://tomesphere.com/paper/1705.03704/full.md

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