Lune

EuroSys2023顶会

Groundhog: Efficient Request Isolation in FaaS

Mohamed Alzayat, Jonathan Mace, Peter Druschel, Deepak Garg

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Optimus: Warming Serverless ML Inference via Inter-Function Model Transformation 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Optimus: Warming Serverless ML Inference via Inter-Function Model Transformation 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Pronghorn: Effective Checkpoint Orchestration for Serverless Hot-Starts 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Pronghorn: Effective Checkpoint Orchestration for Serverless Hot-Starts 引用了 SEUSS: skip redundant paths to make serverless fast
  • Pronghorn: Effective Checkpoint Orchestration for Serverless Hot-Starts 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Ilúvatar: A Fast Control Plane for Serverless Computing 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Ilúvatar: A Fast Control Plane for Serverless Computing 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Ilúvatar: A Fast Control Plane for Serverless Computing 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 SEUSS: skip redundant paths to make serverless fast
  • TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 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 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing 引用了 SEUSS: skip redundant paths to make serverless fast
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper17

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

它引用的 Paper4

  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 等USENIX ATC 2020 · 946 次引用
  2. Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 次引用
  3. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang 等ASPLOS 2020 · 280 次引用
  4. SEUSS: skip redundant paths to make serverless fastJames Cadden, Thomas Unger, Yara Awad, Han Dong 等EuroSys 2020 · 156 次引用

相关 Paper

  1. Faastlane: Accelerating Function-as-a-Service WorkflowsSwaroop Kotni, Ajay Nayak, Vinod Ganapathy, Arkaprava BasuUSENIX ATC 2021 · 142 次引用
  2. Canary: Fault-Tolerant FaaS for Stateful Time-Sensitive ApplicationsMoiz Arif, Kevin Assogba, M. Mustafa RafiqueSC 2022 · 9 次引用
  3. OFC: an opportunistic caching system for FaaS platformsDjob Mvondo, Mathieu Bacou, Kevin Nguetchouang, Lucien Ngale 等EuroSys 2021 · 80 次引用
  4. ALASTOR: Reconstructing the Provenance of Serverless IntrusionsPubali Datta, Isaac Polinsky, Muhammad Adil Inam, Adam Bates 等USENIX Security 2022
  5. FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
黄昏的海面,两侧是细线勾勒的悬崖