AquaLang: A Dataflow Programming Language
Open Access
- 24 June 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 42-53
Abstract
Dataflow systems are widely used today for building and running continuous data-intensive applications. However, the unavoidable semantic gap between the host languages of dataflow system libraries and the dataflow model creates programmability limitations that hinder performance, safety, and ease of use. We propose AquaLang, a new language designed for dataflow systems. Programs in AquaLang blend strongly typed relational and functional syntax and are verified using an effect system that prevents undefined behaviour that can occur when introducing user-defined logic that violates dataflow semantics. Unverified external code is also feasible in AquaLang through the novel use of sandboxing. Furthermore, on top of standard dataflow optimisations employed by current systems, AquaLang's ability to analyze algebraic properties of user-defined functions further unlocks the potential of deeper dataflow program re-writing. In our evaluation, we measure up to one order of magnitude speedup for Nexmark queries against hand-written Flink programs attributed to pushdown and window incrementalisation techniques.Keywords
Funding Information
- Swedish Foundation for Strategic Research (BD15-0006)
- VINNOVA (2022-03036)
- Wallenberg AI NEST
- Swedish e-Science Research Centre
This publication has 24 references indexed in Scilit:
- Active Object Languages: Current Research Trends2024
- A survey on the evolution of stream processing systemsThe VLDB Journal, 2023
- NebulaStream: Data Management for the Internet of ThingsDatenbank-Spektrum, 2022
- In-order sliding-window aggregation in worst-case constant timeThe VLDB Journal, 2021
- Quantitative Impact Evaluation of an Abstraction Layer for Data Stream Processing Systems2019
- Stream Window Aggregation Semantics and Optimization2018
- Beyond the hype: Big data concepts, methods, and analyticsInternational Journal of Information Management, 2015
- Building Your Next Big Thing with Google Cloud Platform2015
- Row-based effect types for database integration2012
- The CQL continuous query language: semantic foundations and query executionThe VLDB Journal, 2005