NobleBlocks

Research index

Efficient Data Query Execution as Serverless Workflows

Stocker

10 Apr 2025Open access

NobleIDark:/48914/w1/20260525/660864A6DOI10.3929/ethz-c-000788040

Abstract

Serverless computing, and Function-as-a-Service (FaaS) in particular, has attracted a lot of attention from research and industry in recent years. It allows users to launch thousands of short-lived functions and only bills them for the services actively used, enabling highly elastic execution. Following the success of serverless computing, new systems have been proposed to optimize various efficiency shortcomings of existing FaaS platforms. These systems include Dirigent, a new cluster manager designed for serverless orchestration, and Dandelion, a new sandbox runtime, proposing a new programming model for serverless applications, which requires applications to run as compositions of functions. At the same time, many new data processing frameworks have been proposed to benefit from the high elasticity offered by serverless platforms to improve efficiency and reduce cost. In this work, we enable Dirigent to orchestrate the execution of Dandelion workflows over a cluster of Dandelion worker nodes. Using this system, we implement a data query execution system that runs data queries as Dandelion workflows with operators as serverless functions. We conduct a range of experiments and show the efficiency benefits of our system coming from the Dandelion programming model by running the Star Schema Benchmarks queries with gigabytes of data among other workloads. Using roughly 700 MB of input data and a single Dandelion worker, we achieve SSB query latencies ranging from 1.9 to 3.5 seconds, outperforming DuckDB in a comparable setup where data needs to be fetched from remote storage. Using 10 workers, we achieve SSB query latencies ranging between 7.5 and 10 seconds processing 6.9 GB of data.

Discussion

Topics

More

Suggest a correction or report