Optimizing Distributed Protocols with Query Rewrites

Author:

Chu David C.Y.1ORCID,Panchapakesan Rithvik1ORCID,Laddad Shadaj1ORCID,Katahanas Lucky E.2ORCID,Liu Chris1ORCID,Shivakumar Kaushik1ORCID,Crooks Natacha1ORCID,Hellerstein Joseph M.3ORCID,Howard Heidi4ORCID

Affiliation:

1. University of California, Berkeley, Berkeley, CA, USA

2. Sutter Hill Ventures, Palo Alto, USA

3. University of California, Berkeley & Sutter Hill Ventures, Berkeley, CA, USA

4. Azure Research, Microsoft, Cambridge, United Kingdom

Abstract

Distributed protocols such as 2PC and Paxos lie at the core of many systems in the cloud, but standard implementations do not scale. New scalable distributed protocols are developed through careful analysis and rewrites, but this process is ad hoc and error-prone. This paper presents an approach for scaling any distributed protocol by applying rule-driven rewrites, borrowing from query optimization. Distributed protocol rewrites entail a new burden: reasoning about spatiotemporal correctness. We leverage order-insensitivity and data dependency analysis to systematically identify correct coordination-free scaling opportunities. We apply this analysis to create preconditions and mechanisms for coordination-free decoupling and partitioning, two fundamental vertical and horizontal scaling techniques. Manual rule-driven applications of decoupling and partitioning improve the throughput of 2PC by 5× and Paxos by 3×, and match state-of-the-art throughput in recent work. These results point the way toward automated optimizers for distributed protocols based on correct-by-construction rewrite rules.

Publisher

Association for Computing Machinery (ACM)

Reference69 articles.

1. Serge Abiteboul, Richard Hull, and Victor Vianu. 1995. Foundations of Databases. Addison-Wesley. http://webdam.inria.fr/Alice/pdfs/all.pdf

2. Ittai Abraham, Guy Gueta, Dahlia Malkhi, Lorenzo Alvisi, Ramakrishna Kotla, and Jean-Philippe Martin. 2017. Revisiting Fast Practical Byzantine Fault Tolerance. CoRR, Vol. abs/1712.01367 (2017). arxiv: 1712.01367 http://arxiv.org/abs/1712.01367

3. WPaxos: Wide Area Network Flexible Consensus

4. Peter Alvaro, Neil Conway, Joseph M. Hellerstein, and William R. Marczak. 2011b. Consistency Analysis in Bloom: a CALM and Collected Approach. In Fifth Biennial Conference on Innovative Data Systems Research, CIDR 2011, Asilomar, CA, USA, January 9--12, 2011, Online Proceedings. 249--260. http://cidrdb.org/cidr2011/Papers/CIDR11_Paper35.pdf

5. Peter Alvaro, William R. Marczak, Neil Conway, Joseph M. Hellerstein, David Maier, and Russell Sears. 2011c. Dedalus: Datalog in Time and Space. In Datalog Reloaded, Oege de Moor, Georg Gottlob, Tim Furche, and Andrew Sellers (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 262--281.

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

1. Bigger, not Badder: Safely Scaling BFT Protocols;Proceedings of the 11th Workshop on Principles and Practice of Consistency for Distributed Data;2024-04-22

2. Optimizing Distributed Protocols with Query Rewrites;Proceedings of the ACM on Management of Data;2024-03-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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