arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.07690cs.LO
收藏

面向分布式数据集合的高效迭代程序

Efficient Iterative Programs with Distributed Data Collections

Sarah Chlyah, Nils Gesbert, Pierre Geneves, Nabil Layaida

AI总结:

针对大数据编程框架手动优化难的问题,本文用不动点算子扩展幺半群代数以支持递归表示,实现新优化,Spark实验验证了其性能提升效果。

摘要:

大数据编程框架对于性能和可扩展性至关重要的应用开发愈发重要。在这些复杂框架中,手动优化代码难度高且耗时,因此自动化优化尤为必要。实现自动化优化的前提是找到合适的抽象来表示程序,例如基于单子或幺半群的代数来表示分布式数据集合。但目前这类代数无法以可分析或重写的方式表示递归程序。本文通过不动点算子扩展了幺半群代数,将递归作为一等公民表示,并展示了其如何支持新的优化。在Spark平台上的实验表明,这些系统化优化带来了性能提升。

英文摘要:

Big data programming frameworks have become increasingly important for the development of applications for which performance and scalability are critical. In those complex frameworks, optimizing code by hand is hard and time-consuming, making automated optimization particularly necessary. In order to automate optimization, a prerequisite is to find suitable abstractions to represent programs; for instance, algebras based on monads or monoids to represent distributed data collections. Currently, however, such algebras do not represent recursive programs in a way which allows for analyzing or rewriting them. In this paper, we extend a monoid algebra with a fixpoint operator for representing recursion as a first class citizen and show how it enables new optimizations. Experiments with the Spark platform illustrate performance gains brought by these systematic optimizations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑