Lune

EuroSys2023Top-tier venue

Groundhog: Efficient Request Isolation in FaaS

Mohamed Alzayat, Jonathan Mace, Peter Druschel, Deepak Garg

Abstract

Security is a core responsibility for Function-as-a-Service (FaaS) providers. The prevailing approach has each function execute in its own container to isolate concurrent executions of different functions. However, successive invocations of the same function commonly reuse the runtime state of a previous invocation in order to avoid container cold-start delays when invoking a function. Although efficient, this container reuse has security implications for functions that are invoked on behalf of differently privileged users or administrative domains: bugs in a function's implementation, third-party library, or the language runtime may leak private data from one invocation of the function to subsequent invocations of the same function.

Groundhog isolates sequential invocations of a function by efficiently reverting to a clean state, free from any private data, after each invocation. The system exploits two properties of typical FaaS platforms: each container executes at most one function at a time and legitimate functions do not retain state across invocations. This enables Groundhog to efficiently snapshot and restore function state between invocations in a manner that is independent of the programming language/runtime and does not require any changes to existing functions, libraries, language runtimes, or OS kernels. We describe the design of Groundhog and its implementation in OpenWhisk, a popular production-grade open-source FaaS framework. On three existing benchmark suites, Groundhog isolates sequential invocations with modest overhead on end-to-end latency (median: 1.5%, 95p: 7%) and throughput (median: 2.5%, 95p: 49.6%), relative to an insecure baseline that reuses the container and runtime state.

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.

17 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

No credit card required.

Lineage

  • Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Optimus: Warming Serverless ML Inference via Inter-Function Model Transformation cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Optimus: Warming Serverless ML Inference via Inter-Function Model Transformation cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Pronghorn: Effective Checkpoint Orchestration for Serverless Hot-Starts cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Pronghorn: Effective Checkpoint Orchestration for Serverless Hot-Starts cites SEUSS: skip redundant paths to make serverless fast
  • Pronghorn: Effective Checkpoint Orchestration for Serverless Hot-Starts cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Ilúvatar: A Fast Control Plane for Serverless Computing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Ilúvatar: A Fast Control Plane for Serverless Computing cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Ilúvatar: A Fast Control Plane for Serverless Computing cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes cites SEUSS: skip redundant paths to make serverless fast
  • TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing 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 papersTop 5 of 17 by citations

  1. Optimus: Warming Serverless ML Inference via Inter-Function Model TransformationZicong Hong, Jian Lin, Song Guo, Sifu Luo et al.EuroSys 2024 · 29 citations
  2. Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 citations
  3. TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and NodesJialiang Huang, Mingxing Zhang, Teng Ma, Zheng Liu et al.SOSP 2024 · 14 citations
  4. Pronghorn: Effective Checkpoint Orchestration for Serverless Hot-StartsSumer Kohli, Shreyas Kharbanda, Rodrigo Bruno, João Carreira et al.EuroSys 2024 · 13 citations
  5. Ilúvatar: A Fast Control Plane for Serverless ComputingAlexander Fuerst, Abdul Rehman, Prateek SharmaHPDC 2023 · 10 citations

Builds on4

  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. SEUSS: skip redundant paths to make serverless fastJames Cadden, Thomas Unger, Yara Awad, Han Dong et al.EuroSys 2020 · 156 citations

Related papers

  1. Faastlane: Accelerating Function-as-a-Service WorkflowsSwaroop Kotni, Ajay Nayak, Vinod Ganapathy, Arkaprava BasuUSENIX ATC 2021 · 142 citations
  2. Canary: Fault-Tolerant FaaS for Stateful Time-Sensitive ApplicationsMoiz Arif, Kevin Assogba, M. Mustafa RafiqueSC 2022 · 9 citations
  3. OFC: an opportunistic caching system for FaaS platformsDjob Mvondo, Mathieu Bacou, Kevin Nguetchouang, Lucien Ngale et al.EuroSys 2021 · 80 citations
  4. ALASTOR: Reconstructing the Provenance of Serverless IntrusionsPubali Datta, Isaac Polinsky, Muhammad Adil Inam, Adam Bates et al.USENIX Security 2022
  5. FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 citations
Dusk over the sea between two cliffs drawn in fine vertical lines