Cornus

Author:

Guo Zhihan1,Zeng Xinyu1,Wu Kan1,Hwang Wuh-Chwen1,Ren Ziwei1,Yu Xiangyao1,Balakrishnan Mahesh2,Bernstein Philip A.3

Affiliation:

1. University of Wisconsin-Madison

2. Confluent, Inc.

3. Microsoft Research

Abstract

Two-phase commit (2PC) is widely used in distributed databases to ensure atomicity of distributed transactions. Conventional 2PC was originally designed for the shared-nothing architecture and has two limitations: long latency due to two eager log writes on the critical path, and blocking of progress when a coordinator fails. Modern cloud-native databases are moving to a storage disaggregation architecture where storage is a shared highly-available service. Our key observation is that disaggregated storage enables protocol innovations that can address both the long-latency and blocking problems. We develop Cornus, an optimized 2PC protocol to achieve this goal. The only extra functionality Cornus requires is an atomic compare-and-swap capability in the storage layer, which many existing storage services already support. We present Cornus in detail and show how it addresses the two limitations. We also deploy it on real storage services including Azure Blob Storage and Redis. Empirical evaluations show that Cornus can achieve up to 1.9X latency reduction over conventional 2PC.

Publisher

Association for Computing Machinery (ACM)

Subject

General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development

Reference66 articles.

1. [n.d.]. Amazon DynamoDB: Allows item-level access to DynamoDB based on an Amazon Cognito ID. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_dynamodb_items.html. (visited on 2022/03/01). [n.d.]. Amazon DynamoDB: Allows item-level access to DynamoDB based on an Amazon Cognito ID. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_dynamodb_items.html. (visited on 2022/03/01).

2. [n.d.]. Amazon DynamoDB API Operations. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Operations_Amazon_DynamoDB.html. (visited on 2022/03/01). [n.d.]. Amazon DynamoDB API Operations. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Operations_Amazon_DynamoDB.html. (visited on 2022/03/01).

3. [n.d.]. Azure Blob Storage. https://azure.microsoft.com/en-us/services/storage/blobs/. (visited on 2022/03/01). [n.d.]. Azure Blob Storage. https://azure.microsoft.com/en-us/services/storage/blobs/. (visited on 2022/03/01).

4. [n.d.]. Azure Cache for Redis. https://azure.microsoft.com/en-us/services/cache/. (visited on 2022/03/01). [n.d.]. Azure Cache for Redis. https://azure.microsoft.com/en-us/services/cache/. (visited on 2022/03/01).

5. [n.d.]. Azure Storage redundancy. https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy. (visited on 2022/03/01). [n.d.]. Azure Storage redundancy. https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy. (visited on 2022/03/01).

Cited by 3 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3