Lune

USENIX ATC2021Top-tier venue

FaaSNet: Scalable and Fast Provisioning of Custom Serverless Container Runtimes at Alibaba Cloud Function Compute

Ao Wang, Shuai Chang, Huangshi Tian, Hongqi Wang, Haoran Yang, Huiba Li, Rui Du, Yue Cheng

Abstract

Serverless computing, or Function-as-a-Service (FaaS), enables a new way of building and scaling applications by allowing users to deploy fine-grained functions while providing fully-managed resource provisioning and auto-scaling. Custom FaaS container support is gaining traction as it enables better control over OSes, versioning, and tooling for modernizing FaaS applications. However, providing rapid container provisioning introduces non-trivial challenges for FaaS providers, since container provisioning is costly, and real-world FaaS workloads exhibit highly dynamic patterns.

In this paper, we design FAASNET, a highly-scalable middleware system for accelerating FaaS container provisioning. FAASNET is driven by the workload and infrastructure requirements of the FaaS platform at one of the world's largest cloud providers, Alibaba Cloud Function Compute. FAAS-NET enables scalable container provisioning via a lightweight, adaptive function tree (FT) structure. FAASNET uses an I/O efficient, on-demand fetching mechanism to further reduce provisioning costs at scale. We implement and integrate FAASNET in Alibaba Cloud Function Compute. Evaluation results show that FAASNET: (1) finishes provisioning 2, 500 function containers on 1, 000 virtual machines in 8.3 seconds, (2) scales 13.4× and 16.3× faster than Alibaba Cloud's current FaaS platform and a state-of-the-art P2P container registry (Kraken), respectively, and (3) sustains a bursty workload using 75.2% less time than an optimized baseline.

  • This is the preprint version of a paper published in USENIX ATC 2021. 1 We call Function Compute throughout the paper.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

39 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • IceBreaker: warming serverless functions better with heterogeneity cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • IceBreaker: warming serverless functions better with heterogeneity cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • IceBreaker: warming serverless functions better with heterogeneity cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Memory deduplication for serverless computing with Medes cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Memory deduplication for serverless computing with Medes cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models cites IceBreaker: warming serverless functions better with heterogeneity
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models cites No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing
  • No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing cites Memory deduplication for serverless computing with Medes
  • No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers39

  1. IceBreaker: warming serverless functions better with heterogeneityRohan Basu Roy, Tirthak Patel, Devesh TiwariASPLOS 2022 · 151 citations
  2. ServerlessLLM: Low-Latency Serverless Inference for Large Language ModelsYao Fu, Leyang Xue, Yeqi Huang, Andrei-Octavian Brabete et al.OSDI 2024 · 125 citations
  3. No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless ComputingXingda Wei, Fangming Lu, Tianxia Wang, Jinyu Gu et al.OSDI 2023 · 78 citations
  4. On-demand Container Loading in AWS LambdaMarc Brooker, Mike Danilov, Chris Greenwood, Phil PiwonkaUSENIX ATC 2023 · 73 citations
  5. Memory deduplication for serverless computing with MedesDivyanshu Saxena, Tao Ji, Arjun Singhvi, Junaid Khalid et al.EuroSys 2022 · 54 citations

Builds on6

  1. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry et al.USENIX ATC 2020 · 946 citations
  2. Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 citations
  3. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang et al.ASPLOS 2020 · 280 citations
  4. InfiniCache: Exploiting Ephemeral Serverless Functions to Build a Cost-Effective Memory CacheAo Wang, Jingyuan Zhang, Xiaolong Ma, Ali Anwar et al.FAST 2020 · 118 citations
  5. Towards Demystifying Serverless Machine Learning TrainingJiawei Jiang, Shaoduo Gan, Yue Liu, Fanlin Wang et al.SIGMOD 2021 · 107 citations

Related papers

  1. XFaaS: Hyperscale and Low Cost Serverless Functions at MetaAlireza Sahraei, Soteris Demetriou, Amirali Sobhgol, Haoran Zhang et al.SOSP 2023 · 32 citations
  2. SEUSS: skip redundant paths to make serverless fastJames Cadden, Thomas Unger, Yara Awad, Han Dong et al.EuroSys 2020 · 156 citations
  3. YuanRong: A Production General-purpose Serverless System for Distributed Applications in the CloudQiong Chen, Jianmin Qian, Yulin Che, Ziqi Lin et al.SIGCOMM 2024 · 28 citations
  4. RunD: A Lightweight Secure Container Runtime for High-density Deployment and High-concurrency Startup in Serverless ComputingZijun Li, Jiagan Cheng, Quan Chen, Eryu Guan et al.USENIX ATC 2022 · 106 citations
  5. CyberStar: Simple, Elastic and Cost-Effective Network Functions Management in Cloud Network at ScaleTingting Xu, Bengbeng Xue, Yang Song, Xiaomin Wu et al.USENIX ATC 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines