Reducing cold start delay in serverless computing using lightweight virtual machines

被引:0
|
作者
Karamzadeh, Amirmohammad [1 ]
Shameli-Sendi, Alireza [1 ]
机构
[1] Shahid Beheshti Univ SBU, Fac Comp Sci & Engn, Tehran, Iran
关键词
Serverless computing; Function as a service; Cold start delay; Lightweight virtual machine; Machine learning;
D O I
10.1016/j.jnca.2024.104030
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In recent years, serverless computing has gained considerable attention in academic, professional, and business circles. Unique features such as code development flexibility and the cost-efficient pay-as-you-go pricing model have led to predictions of widespread adoption of serverless services. Major players in the cloud computing sector, including industry giants like Amazon, Google, and Microsoft, have made significant advancements in the field of serverless services. However, cloud computing faces complex challenges, with two prominent ones being the latency caused by cold start instances and security vulnerabilities associated with container escapes. These challenges undermine the smooth execution of isolated functions, a concern amplified by technologies like Google gVisor and Kata Containers. While the integration of tools like lightweight virtual machines has alleviated concerns about container escape vulnerabilities, the primary issue remains the increased delay experienced during cold start instances in the execution of serverless functions. The purpose of this research is to propose an architecture that reduces cold start delay overhead by utilizing lightweight virtual machines within a commercial architecture, thereby achieving a setup that closely resembles real-world scenarios. This research employs supervised learning methodologies to predict function invocations by leveraging the execution patterns of other program functions. The goal is to proactively mitigate cold start scenarios by invoking the target function before actual user initiation, effectively transitioning from cold starts to warm starts. In this study, we compared our approach with two fixed and variable window strategies. Commercial platforms like Knative, OpenFaaS, and OpenWhisk typically employ a fixed 15-minute window during cold starts. In contrast to these platforms, our approach demonstrated a significant reduction in cold start incidents. Specifically, when calling a function 200 times with 5, 10, and 20 invocations within one hour, our approach achieved reductions in cold starts by 83.33%, 92.13%, and 90.90%, respectively. Compared to the variable window approach, which adjusts the window based on cold start values, our proposed approach was able to prevent 82.92%, 91.66%, and 90.56% of cold starts for the same scenario. These results highlight the effectiveness of our approach in significantly reducing cold starts, thereby enhancing the performance and responsiveness of serverless functions. Our method outperformed both fixed and variable window strategies, making it a valuable contribution to the field of serverless computing. Additionally, the implementation of preinvocation strategies to convert cold starts into warm starts results in a substantial reduction in the execution time of functions within lightweight virtual machines.
引用
收藏
页数:15
相关论文
共 50 条
  • [41] Efficient Utilization of Virtual Machines in Cloud Computing using Synchronized Throttled Load Balancing
    Garg, Shikha
    Dwivedi, Rakesh Kumar
    Chauhan, Himanshu
    2015 1ST INTERNATIONAL CONFERENCE ON NEXT GENERATION COMPUTING TECHNOLOGIES (NGCT), 2015, : 77 - 80
  • [42] Using recommender clustering to improve quality of services with sustainable virtual machines in cloud computing
    Aghaei, Mehran
    Asghari, Parvaneh
    Adabi, Sepideh
    Javadi, Hamid Haj Seyyed
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2023, 26 (02): : 1479 - 1493
  • [43] Dynamic deployment of virtual machines in cloud computing using multi-objective optimization
    Bo Xu
    Zhiping Peng
    Fangxiong Xiao
    Antonio Marcel Gates
    Jian-Ping Yu
    Soft Computing, 2015, 19 : 2265 - 2273
  • [44] An improved in tasks allocation system for virtual machines in cloud computing using HBAC algorithm
    Arif Ullah
    Nazri Mohd Nawi
    Journal of Ambient Intelligence and Humanized Computing, 2023, 14 : 3713 - 3726
  • [45] Designing in-VM-assisted lightweight agent-based malware detection framework for securing virtual machines in cloud computing
    Patil, Rajendra
    Dudeja, Harsha
    Modi, Chirag
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2020, 19 (02) : 147 - 162
  • [46] Designing in-VM-assisted lightweight agent-based malware detection framework for securing virtual machines in cloud computing
    Rajendra Patil
    Harsha Dudeja
    Chirag Modi
    International Journal of Information Security, 2020, 19 : 147 - 162
  • [47] Disambiguation of Catalytic Converter with Fluid Compounds using Automation and Reducing Cold Start Time with PCM
    Bhandwal, Mohit
    Tyagi, R. K.
    JOURNAL OF ENGINEERING RESEARCH, 2022, 10
  • [48] Possibilities for reducing tractor engine friction losses at cold start using an ultrasonic irradiation technique
    Mariasiu, Florin
    TURKISH JOURNAL OF AGRICULTURE AND FORESTRY, 2013, 37 (05) : 623 - 631
  • [49] Load balancing of virtual machines in cloud computing environment using improved ant colony algorithm
    School of Information Engineering, Henan Institute of Science and Technology, Xinxiang
    Henan, China
    不详
    Henan, China
    Int. J. Grid Distrib. Comput., 6 (19-30):
  • [50] Load Balancing of Virtual Machines in Cloud Computing Environment Using Improved Ant Colony Algorithm
    Yang Xianfeng
    Li HongTao
    INTERNATIONAL JOURNAL OF GRID AND DISTRIBUTED COMPUTING, 2015, 8 (06): : 19 - 29