Hibernate Container: A Deflated Container Mode for Fast Startup and High-density Deployment in Serverless Computing

05/18/2023
by   Yulin Sun, et al.
0

Serverless computing is a popular cloud computing paradigm, which requires low response latency to handle on-demand user requests. There are two prominent techniques employed for reducing the response latency: keep fully initialized containers alive (Warm Container) or reduce the new container startup (cold start) latency. This paper presents the 3rd container startup mode: Hibernate Container, which starts faster than the cold start container mode and consumes less memory than the Warm Container mode. Hibernate Container is essentially a "deflated" Warm Container. Its application memory is swapped out to disk, the freed memory is reclaimed and file based mmap memory is cleaned-up. The Hibernate Container's deflated memory is inflated in response to user requests. As Hibernate Container's application is fully initialized, its response latency is less than the cold start mode; and as the application memory is deflated, its memory consumption is less than the Warm Container mode. Additionally, when a Hibernate Container is "woken up" to process a request, the Woken-up Container has similar response latency to Warm Container but less memory consumption because not all the deflated memory needs to be inflated. We implemented the Hibernate technique as part of the open source Quark secure container runtime project and our test demonstrated that Hibernate Container consumes about 7% to 25% of the Warm Container memory. All of this results in a higher deployment density, lower latency and appreciable improvements in the overall system performance.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/17/2022

LambdaLite: Application-Level Optimization for Cold Start Latency in Serverless Computing

Serverless computing is an emerging cloud computing paradigm that frees ...
research
03/28/2019

Mitigating Cold Starts in Serverless Platforms: A Pool-Based Approach

Rapid adoption of the serverless (or Function-as-a-Service, FaaS) paradi...
research
07/18/2019

Asynchronous Snapshots of Actor Systems for Latency-Sensitive Applications

The actor model is popular for many types of server applications. Effici...
research
11/17/2019

Caching Techniques to Improve Latency in Serverless Architectures

Serverless computing has gained a significant traction in recent times b...
research
11/18/2019

Understanding Open Source Serverless Platforms: Design Considerations and Performance

Serverless computing is increasingly popular because of the promise of l...
research
01/16/2021

Benchmarking, Analysis, and Optimization of Serverless Function Snapshots

Serverless computing has seen rapid adoption due to its high scalability...
research
03/25/2019

The Mode of Computing

The Turing Machine is the paradigmatic case of computing machines, but t...

Please sign up or login with your details

Forgot password? Click here to reset