sAirflow: Adopting Serverless in a Legacy Workflow Scheduler

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Mikina, Filip, Zuk, Pawel, Rzadca, Krzysztof
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929371218968576
author Mikina, Filip
Zuk, Pawel
Rzadca, Krzysztof
author_facet Mikina, Filip
Zuk, Pawel
Rzadca, Krzysztof
contents Serverless clouds promise efficient scaling, reduced toil and monetary costs. Yet, serverless-ing a complex, legacy application might require major refactoring and thus is risky. As a case study, we use Airflow, an industry-standard workflow system. To reduce migration risk, we propose to limit code modifications by relying on change data capture (CDC) and message queues for internal communication. To achieve serverless efficiency, we rely on Function-as-a-Service (FaaS). Our system, sAirflow, is the first adaptation of the control plane and workers to the serverless cloud - and it maintains the same interface and most of the code. Experimentally, we show that sAirflow delivers the key serverless benefits: scaling and cost reduction. We compare sAirflow to MWAA, a managed (SaaS) Airflow. On Alibaba benchmarks on warm systems, sAirflow performs similarly while halving the monetary cost. On highly parallel workflows on cold systems, sAirflow scales out in seconds to 125 workers, reducing makespan by 2x-7x.
format Preprint
id arxiv_https___arxiv_org_abs_2406_01374
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle sAirflow: Adopting Serverless in a Legacy Workflow Scheduler
Mikina, Filip
Zuk, Pawel
Rzadca, Krzysztof
Distributed, Parallel, and Cluster Computing
Serverless clouds promise efficient scaling, reduced toil and monetary costs. Yet, serverless-ing a complex, legacy application might require major refactoring and thus is risky. As a case study, we use Airflow, an industry-standard workflow system. To reduce migration risk, we propose to limit code modifications by relying on change data capture (CDC) and message queues for internal communication. To achieve serverless efficiency, we rely on Function-as-a-Service (FaaS). Our system, sAirflow, is the first adaptation of the control plane and workers to the serverless cloud - and it maintains the same interface and most of the code. Experimentally, we show that sAirflow delivers the key serverless benefits: scaling and cost reduction. We compare sAirflow to MWAA, a managed (SaaS) Airflow. On Alibaba benchmarks on warm systems, sAirflow performs similarly while halving the monetary cost. On highly parallel workflows on cold systems, sAirflow scales out in seconds to 125 workers, reducing makespan by 2x-7x.
title sAirflow: Adopting Serverless in a Legacy Workflow Scheduler
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2406.01374