English

Efficient Iterative Programs with Distributed Data Collections

Logic in Computer Science 2023-06-14 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2306.07690,
  title  = {Efficient Iterative Programs with Distributed Data Collections},
  author = {Sarah Chlyah and Nils Gesbert and Pierre Geneves and Nabil Layaida},
  journal= {arXiv preprint arXiv:2306.07690},
  year   = {2023}
}

Comments

36 pages

R2 v1 2026-06-28T11:03:48.557Z