Back to results

University of Washington

FaaSRank: A Reinforcement Learning Scheduler for Serverless Function-as-a-Service Platforms

Abstract

dc:description.abstract

In recent years, Function-as-a-Service (FaaS) platforms have gained popularity as a way to deploy serverless applications in the cloud instigating the rise of serverless computing. Current serverless FaaS platforms generally use simple, classic scheduling algorithms for distributing function invocations while ignoring FaaS characteristics such as rapid changes in resource utilization and the freeze-thaw life cycle. In this thesis, we present FaaSRank, a scheduling service for serverless FaaS platforms based on information monitored from servers and functions. FaaSRank automatically learns scheduling policies through experience using reinforcement learning (RL) and neural networks. To bridge the gap between FaaS scheduling and RL techniques, we develop a novel Score-Rank-Select architecture for FaaSRank. We implement FaaSRank in Apache OpenWhisk, an open source serverless FaaS platform. We evaluate FaaSRank against other baseline schedulers including OpenWhisk's default scheduler on two 13-node OpenWhisk clusters by adapting real-world serverless workload traces provided by Microsoft Azure. Our results show that FaaSRank minimizes the overall average function completion time by 9.25% and 10.10% over the default scheduler. This improvement is realized while reducing the average number of inflight function invocations by 59.62% and 70.43% freeing computational resources compared to the default scheduler for our experiments on two clusters, respectively.

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yu, Hanfei
Advisor dc:contributor.advisor
  • Lloyd, Wes J.

Subjects

dc:subject × 7

Rights

dc:rights
Statement dc:rights
  • none
Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/1773/46984
OAI identifier oai:identifier
oai:digital.lib.washington.edu:1773/46984

Chain of custody

source
Harvested from
University of Washington
Base URL
digital.lib.washington.edu/server/oai/request
Last updated
2026-07-24
Source record
OAI-PMH GetRecord
citation

Yu, Hanfei. FaaSRank: A Reinforcement Learning Scheduler for Serverless Function-as-a-Service Platforms. 2021. http://hdl.handle.net/1773/46984