Imperative or Functional Control Flow Handling

G. Gévay, T. Rabl, S. Breß, Lorand Madai-Tahy, Jorge-Arnulfo Quiané-Ruiz, V. Markl
{"title":"Imperative or Functional Control Flow Handling","authors":"G. Gévay, T. Rabl, S. Breß, Lorand Madai-Tahy, Jorge-Arnulfo Quiané-Ruiz, V. Markl","doi":"10.1145/3542700.3542715","DOIUrl":null,"url":null,"abstract":"Modern data analysis tasks often involve control flow statements, such as the iterations in PageRank and K-means. To achieve scalability, developers usually implement these tasks in distributed dataflow systems, such as Spark and Flink. Designers of such systems have to choose between providing imperative or functional control flow constructs to users. Imperative constructs are easier to use, but functional constructs are easier to compile to an efficient dataflow job. We propose Mitos, a system where control flow is both easy to use and efficient. Mitos relies on an intermediate representation based on the static single assignment form. This allows us to abstract away from specific control flow constructs and treat any imperative control flow uniformly both when building the dataflow job and when coordinating the distributed execution.","PeriodicalId":346332,"journal":{"name":"ACM SIGMOD Record","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM SIGMOD Record","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3542700.3542715","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Modern data analysis tasks often involve control flow statements, such as the iterations in PageRank and K-means. To achieve scalability, developers usually implement these tasks in distributed dataflow systems, such as Spark and Flink. Designers of such systems have to choose between providing imperative or functional control flow constructs to users. Imperative constructs are easier to use, but functional constructs are easier to compile to an efficient dataflow job. We propose Mitos, a system where control flow is both easy to use and efficient. Mitos relies on an intermediate representation based on the static single assignment form. This allows us to abstract away from specific control flow constructs and treat any imperative control flow uniformly both when building the dataflow job and when coordinating the distributed execution.
命令式或功能性控制流处理
现代数据分析任务通常涉及控制流语句,例如PageRank和K-means中的迭代。为了实现可伸缩性,开发人员通常在分布式数据流系统(如Spark和Flink)中实现这些任务。这类系统的设计者必须在向用户提供命令式控制流构造和功能性控制流构造之间做出选择。命令式构造更容易使用,但函数式构造更容易编译成高效的数据流作业。我们建议使用Mitos,这是一个控制流既易于使用又高效的系统。Mitos依赖于基于静态单一赋值表单的中间表示。这允许我们从特定的控制流构造中抽象出来,并在构建数据流作业和协调分布式执行时统一地处理任何命令式控制流。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信