异步检查点用于最终一致性数据库
Asynchronous Checkpoint for Eventually Consistent Databases
AI总结:
本文研究了最终一致性分布式数据库中异步检查点问题,提出DTCS方法,通过强一致性快照解决传统快照算法的不一致和开销问题,MuFASA算法实现最小开销的异步检查点。
摘要:
我们专注于完全复制的最终一致性分布式数据库中的检查点(或快照)问题,特别是分布式事务一致快照(DTCS)。典型系统是提供强最终一致性的复制主内存数据库。该问题重要且具有挑战性,原因包括:(1)最终一致性常导致用户未预料到的异常,因此频繁快照以维护所需不变量非常有益;(2)传统分布式快照算法导致显著的开销和/或不一致,如存储未完成事务的脏写。DTCS的关键优势在于,它通过一系列强一致的快照总结计算,即使底层计算仅弱一致。本质上,当最终一致性系统出现异常时,DTCS允许仅关注异常时间点周围的快照。通过证明传统分布式快照导致不一致和/或过度开销,我们定义了完全复制数据库的大小最小DTCS。我们提出了MuFASA算法,一种具有最小快照开销(仅O(n)条新消息和现有消息增加一个计数器)的大小最小DTCS算法。MuFASA还为分布式系统和复制主内存数据库的现有检查点算法提供了显著优势,因为它是一个完全异步协议。
英文摘要:
We focus on the problem of checkpointing (or taking a snapshot) in fully replicated eventually consistent distributed databases. In particular, we consider the problem of taking Distributed Transaction-Consistent Snapshots (DTCS). A typical example of such a system is a replicated main-memory database that provides strong eventual consistency. This problem is important and challenging for several reasons: (1) eventual consistency often creates anomalies that the users do not anticipate. Hence, frequent snapshots that can be used to ascertain desired invariants are highly beneficial in their maintenance, and (2) traditional distributed snapshot algorithms lead to significant overhead and/or inconsistencies such as storing dirty writes of incomplete transactions. A key benefit of DTCS is that it summarizes the computation by a sequence of snapshots that are strongly consistent even though the underlying computation is only weakly consistent. In essence, when anomalies arise in an eventually consistent system, DTCS enables one to concentrate solely on the snapshots surrounding the time point of the anomaly. By showing that traditional distributed snapshots lead to inconsistencies and/or excessive overhead, we define the notion of size-minimal DTCS for fully replicated databases. We present MuFASA, an algorithm for a size-minimal DTCS with minimal checkpointing overhead (only O(n) new messages and the addition of a single counter for existing messages). MuFASA also provides a significant benefit over existing checkpointing algorithms for distributed systems and replicated main-memory databases by being a fully asynchronous protocol.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。