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

稳态协议:通过程序分析避免事务协调

The Homeostasis Protocol: Avoiding Transaction Coordination Through Program Analysis

Sudip Roy, Lucja Kot, Gabriel Bender, Bailu Ding, Hossein Hojjat, Christoph Koch, Nate Foster, Johannes Gehrke

摘要:

今天的数据存储依赖于分发和复制来实现改进的性能和容错。但许多应用程序的正确性依赖于强一致性属性-这可能会带来大量开销,因为它需要协调多个节点的行为。本文介绍了一种新的方法,以实现强一致性的分布式系统,同时最大限度地减少节点之间的通信。关键的见解是允许系统的状态在执行过程中不一致,只要这种不一致是有界的,并且不影响事务的正确性。与以前的工作相比,我们的方法使用程序分析,以提取语义信息的不一致性允许的水平,是完全自动化的。然后,我们采用了一种新的稳态协议,允许网站独立运作,没有沟通,只要任何不一致的是由适当的条约之间的节点。我们讨论了基于工作负载特性优化条约的机制,以最大限度地减少通信,以及一个原型实现和实验,证明了我们的方法对常见的事务基准的好处。

英文摘要:

Datastores today rely on distribution and replication to achieve improved performance and fault-tolerance. But correctness of many applications depends on strong consistency properties - something that can impose substantial overheads, since it requires coordinating the behavior of multiple nodes. This paper describes a new approach to achieving strong consistency in distributed systems while minimizing communication between nodes. The key insight is to allow the state of the system to be inconsistent during execution, as long as this inconsistency is bounded and does not affect transaction correctness. In contrast to previous work, our approach uses program analysis to extract semantic information about permissible levels of inconsistency and is fully automated. We then employ a novel homeostasis protocol to allow sites to operate independently, without communicating, as long as any inconsistency is governed by appropriate treaties between the nodes. We discuss mechanisms for optimizing treaties based on workload characteristics to minimize communication, as well as a prototype implementation and experiments that demonstrate the benefits of our approach on common transactional benchmarks.

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

↑