首页> 外文期刊>Distributed and Parallel Databases >Logless one-phase commit made possible for highly-available datastores
【24h】

Logless one-phase commit made possible for highly-available datastores

机译:无日志记录的一阶段提交使高可用性数据存储成为可能

获取原文
获取原文并翻译 | 示例

摘要

Highly-available datastores are widely deployed for Internet-based applications. However, many Internet-based applications are not contented with the simple data access interface provided by highly-available datastores. Distributed transaction support is demanded by applications such as massive online payment used by Alipay, Paypal or Baidu Wallet. Current solutions to distributed transaction can spend more than half of the whole transaction processing time in distributed commit. The culprits are the multiple write-ahead logging steps and communication roundtrips in the commit process. This paper presents the HACommit protocol, a logless one-phase commit protocol for highly-available datastores. HACommit has transaction participants vote for a commit before the client decides to commit or abort the transaction; in comparison, the state-of-the-art practice for distributed commit is to have the client decide before participants vote. The change enables the removal of both the participant's write-ahead logging and the coordinator's write-ahead logging steps in the distributed commit process; it also makes possible that, after the client initiates the transaction commit, the transaction data is visible to other transactions within one communication roundtrip time (i.e., one phase). In the evaluation with extensive experiments, HACommit outperforms recent atomic commit solutions for highly-available datastores under different workloads. In the best case, HACommit can commit in one fifth of the time the widely-used two-phase commit (2PC) does.
机译:高可用性数据存储区已广泛部署到基于Internet的应用程序中。但是,许多基于Internet的应用程序不满足于高可用性数据存储所提供的简单数据访问接口。应用程序需要分布式交易支持,例如支付宝,贝宝或百度钱包使用的大规模在线支付。当前的分布式事务解决方案可以在分布式提交中花费整个事务处理时间的一半以上。罪魁祸首是提交过程中的多个预写日志记录步骤和通信往返。本文介绍了HACommit协议,这是一种针对高可用性数据存储的无日志单阶段提交协议。 HACommit让交易参与者在客户决定提交或中止交易之前对提交进行表决。相比之下,分布式提交的最新实践是让客户在参与者投票之前做出决定。通过更改,可以删除分布式提交过程中参与者的预写日志记录和协调者的预写日志记录步骤;在客户端发起事务提交之后,还可以使事务数据在一个通信往返时间内(即一个阶段)对其他事务可见。在广泛实验的评估中,HACommit在不同工作负载下的性能优于最近的原子提交解决方案。在最好的情况下,HACommit可以在广泛使用的两阶段提交(2PC)的五分之一时间内进行提交。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号