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

分布式NoSQL存储系统中一致性延迟调整的连续部分仲裁

Continuous Partial Quorums for Consistency-Latency Tuning in Distributed NoSQL Storage Systems

Marlon McKenzie, Hua Fan, Wojciech Golab

摘要:

NoSQL存储系统被Web应用程序广泛使用,当对可扩展性的需求超过对事务的需求时,NoSQL存储系统为传统数据库提供了一个有吸引力的替代方案。这些系统中的一些系统提供基于法定人数的复制,并向应用程序开发人员提供多个客户端“一致性级别”的选择,这些级别确定通过读取和写入访问的副本的数量,这进而影响客户端应用程序观察到的延迟和一致性。由于使用一个固定的组合的读写一致性水平为一个给定的应用程序只提供了有限数量的离散选项,我们调查的技术,允许更细粒度的调整的一致性延迟权衡,可能需要支持基于一致性的服务水平协议(SLA)。我们提出了一种新的技术称为\emph{continuous partial quorums}(CPQ),分配的一致性水平上的每一个操作的基础上,通过选择两个选项之间随机,如最终和强一致性,与可调的概率。我们使用Apache Cassandra实验评估我们的技术,并证明它优于人为延迟操作的替代调优技术。

英文摘要:

NoSQL storage systems are used extensively by web applications and provide an attractive alternative to conventional databases when the need for scalability outweighs the need for transactions. Several of these systems provide quorum-based replication and present the application developer with a choice of multiple client-side "consistency levels" that determine the number of replicas accessed by reads and writes, which in turn affects both latency and the consistency observed by the client application. Since using a fixed combination of read and write consistency levels for a given application provides only a limited number of discrete options, we investigate techniques that allow more fine-grained tuning of the consistency-latency trade-off, as may be required to support consistency-based service level agreements (SLAs). We propose a novel technique called \emph{continuous partial quorums} (CPQ) that assigns the consistency level on a per-operation basis by choosing randomly between two options, such as eventual and strong consistency, with a tunable probability. We evaluate our technique experimentally using Apache Cassandra and demonstrate that it outperforms an alternative tuning technique that delays operations artificially.

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

↑