NoSQL存储中通过权衡一致性的延迟边界:一种分段和逐步方法
Latency Bounding by Trading off Consistency in NoSQL Store: A Staging and Stepwise Approach
摘要:
延迟是用户满意度的关键服务因素。在分布式和复制的场景中,一致性与操作延迟是一种折衷关系。现有的NoSQL存储可以保证强或弱的一致性,但没有一个能提供基于响应延迟的最佳一致性。在本文中,我们介绍了dConssandra,一个NoSQL存储,使用户能够指定数据访问操作的延迟范围。dConssandra通过牺牲副本一致性来动态限制数据访问延迟。dConssandra基于Cassandra。与Cassandra的实现相比,dConsandra有一个分阶段的复制策略,支持按需同步或异步复制。通过权衡一致性来限制延迟的主要思想是将复制过程分解为微小的步骤,并通过仅执行这些步骤的子集来限制延迟。dConssandra还实现了一个不同的内存存储架构来支持上述功能。dConsandra在实际集群上的实验结果表明:(1)实际响应延迟受给定延迟约束的限制;(2)更大的写入延迟边界导致读取最新值的延迟更低;(3)更大的读取延迟边界导致返回最近写入的值。
英文摘要:
Latency is a key service factor for user satisfaction. Consistency is in a trade-off relation with operation latency in the distributed and replicated scenario. Existing NoSQL stores guarantee either strong or weak consistencies but none provides the best consistency based on the response latency. In this paper, we introduce dConssandra, a NoSQL store enabling users to specify latency bounds for data access operations. dConssandra dynamically bounds data access latency by trading off replica consistency. dConssandra is based on Cassandra. In comparison to Cassandra's implementation, dConssandra has a staged replication strategy enabling synchronous or asynchronous replication on demand. The main idea to bound latency by trading off consistency is to decompose the replication process into minute steps and bound latency by executing only a subset of these steps. dConssandra also implements a different in-memory storage architecture to support the above features. Experimental results for dConssandra over an actual cluster demonstrate that (1) the actual response latency is bounded by the given latency constraint; (2) greater write latency bounds lead to a lower latency in reading the latest value; and, (3) greater read latency bounds lead to the return of more recently written values.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。