Lune

USENIX ATC2020Top-tier venue

Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing

Simon Shillaker, Peter R. Pietzuch

Abstract

Serverless computing is an excellent fit for big data processing because it can scale quickly and cheaply to thousands of parallel functions. Existing serverless platforms, however, isolate functions in ephemeral, stateless containers. This means that functions cannot efficiently share memory, forcing users to serialise data repeatedly when composing functions. We observe that container-based isolation is ill-suited for serverless big data processing. Instead it requires a lightweight isolation approach that allows for efficient state sharing. We introduce Faaslets, a new isolation abstraction for serverless big data computing. Faaslets isolate the memory of executed functions using software-fault isolation (SFI), as provided by WebAssembly, while allowing memory regions to be shared between functions in the same address space. Faaslets can thus avoid expensive data movement when functions are co-located on the same machine. Our runtime for Faaslets, Faasm, isolates other resources, e.g. CPU and network, using standard Linux cgroups, and provides a low-level POSIX host interface for networking, file system access and dynamic loading. To reduce initialisation times, Faasm restores Faaslets from already-initialised snapshots. We compare Faasm to a standard container-based platform and show that, when training a machine learning model, it achieves a 2x speed-up with 10x less memory; for serving machine learning inference, Faasm doubles the throughput and reduces tail latency by 90%.

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.

76 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

  • Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices cites SEUSS: skip redundant paths to make serverless fast
  • FaaSNet: Scalable and Fast Provisioning of Custom Serverless Container Runtimes at Alibaba Cloud Function Compute cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • 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 FaaSNet: Scalable and Fast Provisioning of Custom Serverless Container Runtimes at Alibaba Cloud Function Compute
  • Faastlane: Accelerating Function-as-a-Service Workflows cites Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
  • Faastlane: Accelerating Function-as-a-Service Workflows cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Faastlane: Accelerating Function-as-a-Service Workflows cites Shreds: Fine-Grained Execution Units with Private Memory
  • Faastlane: Accelerating Function-as-a-Service Workflows cites Cloudburst: Stateful Functions-as-a-Service
  • Benchmarking, analysis, and optimization of serverless function snapshots cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Benchmarking, analysis, and optimization of serverless function snapshots cites SEUSS: skip redundant paths to make serverless fast
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers76

  1. Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 citations
  2. FaaSNet: Scalable and Fast Provisioning of Custom Serverless Container Runtimes at Alibaba Cloud Function ComputeAo Wang, Shuai Chang, Huangshi Tian, Hongqi Wang et al.USENIX ATC 2021 · 171 citations
  3. Benchmarking, analysis, and optimization of serverless function snapshotsDmitrii Ustiugov, Plamen Petrov, Marios Kogias, Edouard Bugnion et al.ASPLOS 2021 · 162 citations
  4. IceBreaker: warming serverless functions better with heterogeneityRohan Basu Roy, Tirthak Patel, Devesh TiwariASPLOS 2022 · 151 citations
  5. Faastlane: Accelerating Function-as-a-Service WorkflowsSwaroop Kotni, Ajay Nayak, Vinod Ganapathy, Arkaprava BasuUSENIX ATC 2021 · 142 citations

Builds on4

  1. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang et al.ASPLOS 2020 · 280 citations
  2. SEUSS: skip redundant paths to make serverless fastJames Cadden, Thomas Unger, Yara Awad, Han Dong et al.EuroSys 2020 · 156 citations
  3. Shreds: Fine-Grained Execution Units with Private MemoryYaohui Chen, Sebassujeen Reymondjohnson, Zhichuang Sun, Long LuS&P 2016 · 116 citations
  4. Cloudburst: Stateful Functions-as-a-ServiceVikram Sreekanti, Chenggang Wu, Xiayue Charles Lin, Johann Schleier-Smith et al.VLDB 2020

Related papers

  1. MXFaaS: Resource Sharing in Serverless Environments for Parallelism and EfficiencyJovan Stojkovic, Tianyin Xu, Hubertus Franke, Josep TorrellasISCA 2023 · 39 citations
  2. Rethinking Deployment for Serverless Functions: A Performance-First PerspectiveYiming Li, Laiping Zhao, Yanan Yang, Wenyu QuSC 2023 · 7 citations
  3. Batch: machine learning inference serving on serverless platforms with adaptive batchingAhsan Ali, Riccardo Pinciroli, Feng Yan, Evgenia SmirniSC 2020 · 184 citations
  4. FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud CommunicationJoe Oakley, Hakan FerhatosmanogluICDE 2024 · 6 citations
  5. Single-Address-Space FaaS with JordYuanlong Li, Atri Bhattacharyya, Madhur Kumar, Abhishek Bhattacharjee et al.ISCA 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines