Skip to main content

Impact of Cold Starts on Serverless Application Performance: A Comprehensive Analysis and Mitigation

Page 1

International Research Journal of Engineering and Technology (IRJET)

e-ISSN: 2395-0056

Volume: 12 Issue: 03 | Mar 2025

p-ISSN: 2395-0072

www.irjet.net

Impact of Cold Starts on Serverless Application Performance: A Comprehensive Analysis and Mitigation Techniques Devershi Mehta1, Pushkar Kumar2, Raunak Verma3, Gauravdeep Choubisa4 1Head and Assistant Professor, PIMS-ICS, Sai Tirupati University 2Assistant Professor, PIMS-ICS, Sai Tirupati University

3 Assistant Professor, PIMS-ICS, Sai Tirupati University 4 Assistant Professor, PIMS-ICS, Sai Tirupati University

---------------------------------------------------------------------***---------------------------------------------------------------------

Abstract - Serverless computing has become increasingly

popular because of its scalability, cost-effectiveness, and straightforward deployment. However, cold starts—delays that occur when initializing serverless functions create notable performance issues, especially for applications that are sensitive to latency. This paper offers a detailed analysis of how cold starts affect the performance of serverless applications across major cloud platforms, including AWS Lambda, Azure Functions, and Google Cloud Functions. We carefully measure cold start latency under different conditions such as function memory size, runtime environment, invocation frequency, and concurrent execution. Our results reveal important factors that lead to cold start delays and their effects on real-time applications. In addition, we investigate and assess various mitigation techniques, such as function warm-up strategies, provisioned concurrency, optimized runtime selection, and workload-aware scheduling. Our experimental findings show that these strategies can significantly decrease cold start times and enhance response efficiency. Moreover, we suggest an adaptive hybrid approach that dynamically implements mitigation techniques based on workload patterns to strike a balance between cost and performance. This study offers valuable insights for developers and cloud architects looking to optimize serverless applications for high availability and low latency. Our research contributes to the ongoing progress in serverless computing by presenting practical solutions to address cold start challenges in cloud environments.

Figure 1: Cold Starts on Serverless Application Performance Source: Self However, serverless computing does face a significant performance issue known as the cold start phenomenon. Cold starts happen when a function is triggered, but there isn't a pre-warmed execution environment ready, resulting in delays during initialization. These delays can greatly affect response times, especially for applications that require low latency, such as real-time analytics, financial transactions, and IoT services. The impact of cold starts can vary depending on factors like the choice of runtime, resource allocation, and optimizations specific to the provider, tackling1 cold start problems is essential for improving the performance of serverless applications. Reducing these delays can enhance user experience, lower operational costs, and increase overall system reliability. Several strategies, including pre-warming techniques, function packaging improvements, and smart scheduling methods, have been suggested to address this issue. a thorough examination of cold start behaviors and their mitigation strategies across various serverless platforms is still a topic that requires further research.

Key Words: Cold Start, Serverless Computing, Application Performance, Cloud Environments, Mitigation Techniques 1. Introduction Serverless computing has become a game-changer in the world of cloud computing, allowing developers to create and launch applications without the hassle of managing the underlying infrastructure. This approach is known for its scalability, cost-effectiveness, and event-driven capabilities, and it has seen widespread use in areas like web applications, data processing, and artificial intelligence tasks. The increasing adoption of serverless platforms such as AWS Lambda, Google Cloud Functions, and Azure Functions highlights their potential to transform the development of cloud-native applications.

© 2025, IRJET

|

Impact Factor value: 8.315

1

|

get to work at

ISO 9001:2008 Certified Journal

|

Page 481


Turn static files into dynamic content formats.

Create a flipbook
Impact of Cold Starts on Serverless Application Performance: A Comprehensive Analysis and Mitigation by IRJET Journal - Issuu