Reducing the cost of cold start time in serverless function executions using granularity trees

Mahrad Hanaforoosh,Mohammad Abdollahi Azgomi,Mehrdad Ashtiani
DOI: https://doi.org/10.1016/j.future.2024.107604
IF: 7.307
2024-11-11
Future Generation Computer Systems
Abstract:In serverless computing, cold starts significantly impede performance. This paper presents a granularity tree-based scheduling strategy, dynamically adjusting serverless function deployment by package dependencies to mitigate cold starts and optimize resource usage. This approach notably reduces cold start and response times. Empirical results from evaluating functions across various datasets show the strategy outperforms existing methods. Specifically, it consistently delivers lower response times and decreases resource consumption, demonstrating its effectiveness in managing computational resources while ensuring swift function invocation. In particular scenarios, the proposed scheduler impressively reduced response times from 8134.1 ms to 392.8 ms and idle memory usage from 15.2 GB to 11.2 GB per machine. In other scenarios, it reduced response times from 12,152.7 ms to 504.2 ms while maintaining a 100% function execution percentage. These quantified improvements underscore the significant enhancements in cold start mitigation and overall system performance, highlighting the potential of granularity tree-based scheduling in enhancing serverless computing architectures by effectively balancing rapid response with reduced resource usage.
computer science, theory & methods
What problem does this paper attempt to address?