sAirflow: Adopting Serverless in a Legacy Workflow Scheduler
<|reference_start|>sAirflow: Adopting Serverless in a Legacy Workflow Scheduler: 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.<|reference_end|>
@article{mikina2024sairflow:,
    title={sAirflow: Adopting Serverless in a Legacy Workflow Scheduler},
    author={Filip Mikina, Pawel Zuk, Krzysztof Rzadca},
    journal={arXiv preprint arXiv:2406.01374},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.01374},
    primaryClass={cs.DC}
}