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

07/17/2022
by   Jinfeng Wen, et al.
0

Serverless computing is an emerging cloud computing paradigm that frees developers from server management. However, existing studies report that software applications developed in serverless fashion (named serverless applications) severely suffer from cold start latency. We propose an application-level performance optimization approach called LambdaLite, for accelerating the cold start for serverless applications. We first conduct a measurement study to investigate the possible root cause of the cold start problem and find that application code loading latency is the dominant overhead. Therefore, loading only indispensable code from serverless applications can be an adequate solution. Based on this insight, we identify code related to application functionalities by constructing the function-level call graph, and separate other code (optional code) from the serverless application. The separated optional code can be loaded on demand to avoid the inaccurate identification of indispensable code causing application failure. In practice, LambdaLite can be seamlessly deployed on existing serverless platforms without the need to modify the underlying OSes or hypervisors, nor introduce additional manual efforts to developers. Evaluation results on 15 real-world serverless applications show that our approach can significantly reduce the application code loading latency (up to 78.95 thereby reducing the cold start latency. As a result, the total response latency of serverless applications can be decreased by up to 42.05 19.21 improvement on the total response latency of serverless applications.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/18/2023

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

Serverless computing is a popular cloud computing paradigm, which requir...
research
06/30/2022

A Time Series Forecasting Approach to Minimize Cold Start Time in Cloud-Serverless Platform

Serverless computing is a buzzword that is being used commonly in the wo...
research
06/02/2023

SuperFlow: Performance Testing for Serverless Computing

Serverless computing is an emerging cloud computing paradigm that allows...
research
08/15/2023

Reinforcement Learning (RL) Augmented Cold Start Frequency Reduction in Serverless Computing

Function-as-a-Service is a cloud computing paradigm offering an event-dr...
research
11/30/2021

Technical Report: Edge-centric Programming for IoT Applications with EdgeProg

IoT application development usually involves separate programming at the...
research
04/25/2022

Fusionize: Improving Serverless Application Performance through Feedback-Driven Function Fusion

Serverless computing increases developer productivity by removing operat...
research
05/14/2019

Measuring and simulating latency in interactive remote rendering systems

Background: The computationally intensive task of real-time rendering ca...

Please sign up or login with your details

Forgot password? Click here to reset