迈向可重构的线性一致读
Towards Reconfigurable Linearizable Reads
AI总结:
针对线性一致读算法需预先固定且难以适应工作负载变化的问题,本文提出 Chameleon,利用可在进程间转移的令牌构建通用读写法定人数系统,从而在运行时模拟并切换现有读算法。
摘要:
线性一致数据存储之所以受到青睐,是因为它们为用户提供了一种错觉:数据存储运行在单台机器上,并一次执行一个客户端操作。为降低提供这种错觉的性能代价,研究人员提出了许多专门用于线性一致读的算法;与写入性能相比,这些算法显著提升了读取性能。这些专门算法之间的主要区别在于它们在不同工作负载下的性能。遗憾的是,由于数据存储的工作负载通常事先未知或会随时间变化,而系统设计者必须提前决定要实现哪一种读取算法,因此数据存储往往无法适应工作负载变化,性能处于次优状态。本文中,我们通过提出 Chameleon 为解决该问题奠定基础。Chameleon 是一种线性一致读算法,为数据存储在运行时于现有读取算法之间切换提供了一种有原则的方法。促成这种泛化的关键观察是:所有现有算法都是特定的读写法定人数系统。Chameleon 通过使用用于完成写操作和读操作的令牌,构建了一个通用的读写法定人数系统。该令牌法定人数系统使 Chameleon 能够模拟现有读取算法,并通过在进程之间转移这些令牌在这些算法之间切换。
英文摘要:
Linearizable datastores are desirable because they provide users with the illusion that the datastore is run on a single machine that performs client operations one at a time. To reduce the performance cost of providing this illusion, many specialized algorithms for linearizable reads have been proposed which significantly improve read performance compared to write performance. The main difference between these specialized algorithms is their performance under different workloads. Unfortunately, since a datastore's workload is often unknown or changes over time and system designers must decide on a single read algorithm to implement ahead of time, a datastore's performance is often suboptimal as it cannot adapt to workload changes. In this paper, we lay the groundwork for addressing this problem by proposing Chameleon, an algorithm for linearizable reads that provides a principled approach for datastores to switch between existing read algorithms at runtime. The key observation that enables this generalization is that all existing algorithms are specific read-write quorum systems. Chameleon constructs a generic read-write quorum system, by using tokens that are included to complete write and read operations. This token quorum system enables Chameleon to mimic existing read algorithms and switch between them by transferring these tokens between processes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。