AlloyStack: A Library Operating System for Serverless Workflow Applications

Abstract

Serverless workflow applications, composed of multiple serverless functions, are increasingly popular in production. However, inter-function communication and cold start latency remain key performance bottlenecks. This paper introduces AlloyStack, a library operating system (LibOS) tailored for serverless workflows. AlloyStack addresses two major challenges: (1) reducing cold start latency through on-demand OS component loading and (2) minimizing data transfer overhead by enabling functions within the same workflow to share a single address space, eliminating unnecessary data copying. To ensure secure isolation, AlloyStack uses Memory Protection Keys (MPK) to separate user functions from the LibOS while maintaining efficient data sharing. Our evaluation shows that AlloyStack reduces cold start times by 98.5% to just 1.3ms. Compared to SOTA systems, AlloyStack achieves a 7.3× to 38.7× speedup in Rust end-to-end latency and a 4.8× to 78.3× speedup in other languages for intermediate data-intensive workflows.

Publication
EuroSys ‘25: Proceedings of the Twentieth European Conference on Computer Systems, Rotterdam, Netherlands, March 30 - April 3, 2025
Jianing You
Jianing You
Master

My research interests include distributed robotics, mobile computing and programmable matter.

Laiping Zhao
Laiping Zhao

Professor

(英才教授、博士生导师)

My research interests include next generation operating system towards Artificial Intelligence and Cloud Computing Applications.

Yiming Li
Yiming Li
Ph.D

My research interests include Serverless Computing, and Cloud Computing.

Yichi Chen
Yichi Chen
Master

My research interests include distributed robotics, mobile computing and programmable matter.

Yuxuan Du
Yuxuan Du
Master

My research interests include Serverless computing, Operating Systems and Compute Express Link(CXL).