A study of resource management policies for function-as-a-service

Function as a Service (FaaS) offers a novel way to deploy computing applications to serverless backends in the cloud. This evolving paradigm shifts more control of resource management from the cloud users to the cloud providers. Despite the benefits of FaaS, cold start problems significantly impact...

Full description

Saved in:
Bibliographic Details
Main Author: Lin, Yukun
Other Authors: Tang Xueyan
Format: Thesis-Master by Research
Language:English
Published: Nanyang Technological University 2023
Subjects:
Online Access:https://hdl.handle.net/10356/166480
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-166480
record_format dspace
spelling sg-ntu-dr.10356-1664802023-05-02T06:33:01Z A study of resource management policies for function-as-a-service Lin, Yukun Tang Xueyan School of Computer Science and Engineering ASXYTang@ntu.edu.sg Engineering::Computer science and engineering Function as a Service (FaaS) offers a novel way to deploy computing applications to serverless backends in the cloud. This evolving paradigm shifts more control of resource management from the cloud users to the cloud providers. Despite the benefits of FaaS, cold start problems significantly impact its performance. To alleviate such effects, cloud providers often pre-warm containers or maintain a container pool to respond quickly to unforeseen requests. This exposes a trade-off between performance and resource consumption. However, various request patterns of functions make it difficult to achieve targeted optimization for cloud providers of universal FaaS platforms. We seek to optimize a general-purpose FaaS platform, Fission, in terms of managing both container termination and container specialization. A pod termination policy is proposed to manage the termination of idle pods by dynamically changing their expiry times. We also modify the workflow of processing requests in Fission and develop a pod specialization policy. We evaluate the performance of our policies on a simulator with a public dataset from Microsoft Azure. According to the results obtained, the proposed pod termination policy adapts to the workload of different intensities and offers better performance than the default policy of Fission. In addition, the pod specialization policy reduces the average processing latency of requests, while maintaining or slightly reducing the idle time of pods. Master of Engineering 2023-04-28T01:42:50Z 2023-04-28T01:42:50Z 2023 Thesis-Master by Research Lin, Y. (2023). A study of resource management policies for function-as-a-service. Master's thesis, Nanyang Technological University, Singapore. https://hdl.handle.net/10356/166480 https://hdl.handle.net/10356/166480 10.32657/10356/166480 en This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). application/pdf Nanyang Technological University
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Engineering::Computer science and engineering
spellingShingle Engineering::Computer science and engineering
Lin, Yukun
A study of resource management policies for function-as-a-service
description Function as a Service (FaaS) offers a novel way to deploy computing applications to serverless backends in the cloud. This evolving paradigm shifts more control of resource management from the cloud users to the cloud providers. Despite the benefits of FaaS, cold start problems significantly impact its performance. To alleviate such effects, cloud providers often pre-warm containers or maintain a container pool to respond quickly to unforeseen requests. This exposes a trade-off between performance and resource consumption. However, various request patterns of functions make it difficult to achieve targeted optimization for cloud providers of universal FaaS platforms. We seek to optimize a general-purpose FaaS platform, Fission, in terms of managing both container termination and container specialization. A pod termination policy is proposed to manage the termination of idle pods by dynamically changing their expiry times. We also modify the workflow of processing requests in Fission and develop a pod specialization policy. We evaluate the performance of our policies on a simulator with a public dataset from Microsoft Azure. According to the results obtained, the proposed pod termination policy adapts to the workload of different intensities and offers better performance than the default policy of Fission. In addition, the pod specialization policy reduces the average processing latency of requests, while maintaining or slightly reducing the idle time of pods.
author2 Tang Xueyan
author_facet Tang Xueyan
Lin, Yukun
format Thesis-Master by Research
author Lin, Yukun
author_sort Lin, Yukun
title A study of resource management policies for function-as-a-service
title_short A study of resource management policies for function-as-a-service
title_full A study of resource management policies for function-as-a-service
title_fullStr A study of resource management policies for function-as-a-service
title_full_unstemmed A study of resource management policies for function-as-a-service
title_sort study of resource management policies for function-as-a-service
publisher Nanyang Technological University
publishDate 2023
url https://hdl.handle.net/10356/166480
_version_ 1765213823676973056