A Secure, Fast, and Resource-Efficient Serverless Platform with Function REWIND

Jaehyun Song, Bumsuk Kim, Minwoo Kwak, Byoungyoung Lee, Euiseong Seo, Jinkyu Jeong

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Serverless computing often utilizes the warm container technique to improve response times. However, this method, which allows the reuse of function containers across different function requests of the same type, creates persistent vulnerabilities in memory and file systems. These vulnerabilities can lead to security breaches such as data leaks. Traditional approaches to address these issues often suffer from performance drawbacks and high memory requirements due to the extensive use of user-level snapshots and complex restoration process. The paper introduces REWIND, an innovative and efficient serverless function execution platform designed to address these security and efficiency concerns. REWIND ensures that after each function request, the container is reset to an initial state free of any sensitive data, including a thorough restoration of the file system to prevent data leakage. It incorporates a kernel-level memory snapshot management system, which significantly lowers memory usage and accelerates the rewind process. Additionally, REWIND optimizes runtime by reusing memory regions and leveraging the temporal locality of function executions, enhancing performance while maintaining strict data isolation between requests. The prototype of REWIND is implemented on OpenWhisk and Linux and evaluated with serverless benchmark workloads. The evaluation results have demonstrated that REWIND provides substantial memory savings while providing high function execution performance. Especially, the low memory usage makes more warm containers kept alive thereby improving the throughput as well as the latency of function executions while providing isolation between function requests.

Original languageEnglish
Title of host publicationProceedings of the 2024 USENIX Annual Technical Conference, ATC 2024
PublisherUSENIX Association
Pages597-613
Number of pages17
ISBN (Electronic)9781939133410
Publication statusPublished - 2024
Event2024 USENIX Annual Technical Conference, ATC 2024 - Santa Clara, United States
Duration: 2024 Jul 102024 Jul 12

Publication series

NameProceedings of the 2024 USENIX Annual Technical Conference, ATC 2024

Conference

Conference2024 USENIX Annual Technical Conference, ATC 2024
Country/TerritoryUnited States
CitySanta Clara
Period24/7/1024/7/12

Bibliographical note

Publisher Copyright:
© 2024 Proceedings of the 2024 USENIX Annual Technical Conference, ATC 2024. All rights reserved.

All Science Journal Classification (ASJC) codes

  • General Computer Science

Fingerprint

Dive into the research topics of 'A Secure, Fast, and Resource-Efficient Serverless Platform with Function REWIND'. Together they form a unique fingerprint.

Cite this