An Analysis of Quorum-based Abstractions: A Case Study using Gorums to Implement Raft

S. Pedersen, H. Meling, Leander Jehl
{"title":"An Analysis of Quorum-based Abstractions: A Case Study using Gorums to Implement Raft","authors":"S. Pedersen, H. Meling, Leander Jehl","doi":"10.1145/3231104.3231957","DOIUrl":null,"url":null,"abstract":"Gorums is a novel RPC framework aimed at simplifying development of fault tolerant distributed systems. In this paper, we want to assess whether Gorums can simplify the implementation of a practical fault tolerant service that supports reconfiguration. To this end, we implemented the Raft consensus algorithm using Gorums, and show that Gorums's abstractions are useful for simplifying reconfiguration and Raft's leader election protocol. We do however discover that Raft's log replication protocol is problematic to implement with Gorums's abstractions. We attribute this difficulty to Raft's highly monolithic design, due to bundling multiple protocol features into a single RPC, violating the separation of concerns design principle. We solve this issue by developing extensions to Raft and Gorums. Our performance evaluation shows that our Raft implementation with these extensions performs better or on par with two state-of-the-art implementations. We evaluate both latency and overall throughput during normal operation, as well as under a network partition scenario.","PeriodicalId":164914,"journal":{"name":"Proceedings of the 2018 Workshop on Advanced Tools, Programming Languages, and PLatforms for Implementing and Evaluating Algorithms for Distributed systems","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2018 Workshop on Advanced Tools, Programming Languages, and PLatforms for Implementing and Evaluating Algorithms for Distributed systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3231104.3231957","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Gorums is a novel RPC framework aimed at simplifying development of fault tolerant distributed systems. In this paper, we want to assess whether Gorums can simplify the implementation of a practical fault tolerant service that supports reconfiguration. To this end, we implemented the Raft consensus algorithm using Gorums, and show that Gorums's abstractions are useful for simplifying reconfiguration and Raft's leader election protocol. We do however discover that Raft's log replication protocol is problematic to implement with Gorums's abstractions. We attribute this difficulty to Raft's highly monolithic design, due to bundling multiple protocol features into a single RPC, violating the separation of concerns design principle. We solve this issue by developing extensions to Raft and Gorums. Our performance evaluation shows that our Raft implementation with these extensions performs better or on par with two state-of-the-art implementations. We evaluate both latency and overall throughput during normal operation, as well as under a network partition scenario.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于群体的抽象分析:以Gorums实现Raft为例
Gorums是一个新颖的RPC框架,旨在简化容错分布式系统的开发。在本文中,我们想要评估Gorums是否可以简化支持重新配置的实际容错服务的实现。为此,我们使用Gorums实现了Raft共识算法,并证明了Gorums的抽象对于简化重构和Raft的leader选举协议是有用的。然而,我们发现Raft的日志复制协议在使用Gorums的抽象实现时存在问题。我们将这种困难归因于Raft的高度单片设计,由于将多个协议特性捆绑到单个RPC中,违反了关注点分离设计原则。我们通过开发Raft和Gorums的扩展来解决这个问题。我们的性能评估表明,使用这些扩展的Raft实现性能更好,或者与两个最先进的实现相当。我们在正常操作期间以及在网络分区场景下评估延迟和总体吞吐量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Proceedings of the 2018 Workshop on Advanced Tools, Programming Languages, and PLatforms for Implementing and Evaluating Algorithms for Distributed systems Language Semantics Driven Design and Formal Analysis for Distributed Cyber-Physical Systems: [Extended Abstract] Towards a More Reliable Store-and-forward Protocol for Mobile Text Messages Partisan Logical Clocks Are Not Fair: What Is Fair?
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1