arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1705.03704cs.DC
收藏

全局-局部视图:并发数据类型的可扩展一致性

Global-Local View: Scalable Consistency for Concurrent Data Types

Deepthi Devaki Akkoorath, José Brandão, Annette Bieniusa, Carlos Baquero

摘要:

在高争用工作负载下,对共享对象的并发可线性化访问可能代价高昂。许多应用程序应用ad-hoc技术来消除同步原子更新的需要,这可能导致非线性实现。我们提出了一个新的编程模型,利用这种模式的并发访问对象在共享内存系统。在这个模型中,每个线程维护共享对象的不同视图-线程本地视图和全局视图。由于线程本地视图不是共享的,因此可以在不产生同步开销的情况下对其进行更新。只有在线程本地视图与全局视图合并后,这些本地更新才对其他线程可见。这以牺牲线性化能力为代价实现了更好的性能。我们表明,它是可能的,以保持线程的本地视图,并有效地执行合并的几个数据类型,并评估其性能和可扩展性相比,线性化的实现。此外,我们讨论了数据类型和相关的编程模型的一致性语义。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑