制定一致性基准的原则性框架
Toward a Principled Framework for Benchmarking Consistency
摘要:
大规模键值存储系统为了可靠性而牺牲了一致性(即,分区容限和可用性),以及性能(即,等待时间)。这样的系统提供了最终的一致性,到目前为止,在实际系统中很难量化。考虑到最终一致的系统的许多实现和部署(例如,NoSQL系统),已经尝试凭经验测量这种一致性,但它们存在重要的缺点。例如,最先进的一致性基准只能以有限的方式对系统进行测试,并破坏工作量,这限制了它们的准确性。在本文中,我们采取的立场是,一致性基准应该描绘一个全面的图片之间的关系,所考虑的存储系统,工作负载,故障模式,并观察到的一致性客户端。为了说明我们的观点,我们首先调查之前的努力,以量化最终的一致性。然后,我们提出了一个基准测试技术,克服了现有技术的缺点,以衡量客户端所观察到的一致性,因为他们正在考虑执行的工作负载。这种方法是通用的,并且对被测系统的干扰最小。作为概念证明,我们在Cassandra上演示了这个工具。
英文摘要:
Large-scale key-value storage systems sacrifice consistency in the interest of dependability (i.e., partition tolerance and availability), as well as performance (i.e., latency). Such systems provide eventual consistency,which---to this point---has been difficult to quantify in real systems. Given the many implementations and deployments of eventually-consistent systems (e.g., NoSQL systems), attempts have been made to measure this consistency empirically, but they suffer from important drawbacks. For example, state-of-the art consistency benchmarks exercise the system only in restricted ways and disrupt the workload, which limits their accuracy. In this paper, we take the position that a consistency benchmark should paint a comprehensive picture of the relationship between the storage system under consideration, the workload, the pattern of failures, and the consistency observed by clients. To illustrate our point, we first survey prior efforts to quantify eventual consistency. We then present a benchmarking technique that overcomes the shortcomings of existing techniques to measure the consistency observed by clients as they execute the workload under consideration. This method is versatile and minimally disruptive to the system under test. As a proof of concept, we demonstrate this tool on Cassandra.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。