arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.01460cs.DB
收藏

K2:基于TrueTime时钟优化多区域数据存储中分布式事务的研究(扩展版)

K2: On Optimizing Distributed Transactions in a Multi-region Data Store with TrueTime Clocks (Extended Version)

Haoze Song, Yongqi Wang, Xusheng Chen, Hao Feng, Yazhi Feng, Xieyun Fang, Heming Cui, Linghe Kong

AI总结:

本文提出多区域数据存储K2,通过增强TrueTime时钟语义,在时间戳生成、并发控制和可见性控制三方面优化分布式事务,相比Spanner等协议实现了更高吞吐量和更低可见性延迟。

摘要:

TrueTime时钟(TTC)能在有限的不确定性边界内提供准确可靠的时间,已在许多云环境中得到日益广泛的应用。寻求去中心化同步以实现高性能的多区域数据存储,是TTC的理想应用场景。然而,两者之间的协同设计往往被低估,或未能充分发挥其潜力。本文提出了K2,一个深入探索利用TTC处理分布式事务机会的多区域数据存储。与其先驱Google Spanner相比,K2在三个核心设计支柱上增强了TTC的语义。首先,K2采用了一种新的时间戳生成方案,能够在规模化运行时提供较小的时间不确定性边界。其次,K2复兴了现有的多版本时间戳排序并发控制机制,为读写事务实现了多版本特性。第三,K2引入了一种新的基于TTC的可见性控制协议,在副本处提供高效的读取操作。评估结果表明,与其他实用的地理分布式事务协议相比,K2在确保异步副本处更低可见性延迟的同时,实现了高出一个数量级的事务吞吐量。

英文摘要:

TrueTime clocks (TTCs) that offer accurate and reliable time within limited uncertainty bounds have been increasingly implemented in many clouds. Multi-region data stores that seek decentralized synchronization for high performance represent an ideal application of TTC. However, the co-designs between the two were often undervalued or failed to realize their full potential. This paper proposes K2, a multi-region data store that intensely explores the opportunity of using TTC for distributed transactions. Compared to its pioneer, Google Spanner, K2 augments TTC's semantics in three core design pillars. First, K2 carries a new timestamp-generating scheme that is capable of providing a small time uncertainty bound at scale. Second, K2 revitalizes existing multi-version timestamp-ordered concurrency control to realize multi-version properties for read-write transactions. Third, K2 introduces a new TTC-based visibility control protocol that provides efficient reads at replicas. Our evaluation shows that, K2 achieves an order of magnitude higher transaction throughput relative to other practical geo-distributed transaction protocols while ensuring a lower visibility delay at asynchronous replicas.

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

↑