AlloyStack: A Library Operating System for Serverless Workflow Applications

摘要

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.

出版物
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

教授

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

我的研究兴趣包括面向人工智能和云计算应用的下一代操作系统。

Yiming Li
Yiming Li
Ph.D

My research interests include Serverless Computing, and Cloud Computing.

Yichi Chen
Yichi Chen
硕士

我的研究兴趣包括分布式机器人、移动计算和可编程物质。

Yuxuan Du
Yuxuan Du
Master

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

Luhang Wen
Luhang Wen
Master

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