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

dc.contributor.advisorLloyd, Wes J.
dc.contributor.authorYu, Hanfei
dc.date.accessioned2021-07-07T19:58:47Z
dc.date.available2021-07-07T19:58:47Z
dc.date.issued2021-07-07
dc.date.submitted2021
dc.descriptionThesis (Master's)--University of Washington, 2021
dc.description.abstractIn 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.
dc.embargo.termsOpen Access
dc.format.mimetypeapplication/pdf
dc.identifier.otherYu_washington_0250O_22655.pdf
dc.identifier.urihttp://hdl.handle.net/1773/46984
dc.language.isoen_US
dc.rightsnone
dc.subjectCloud Computing
dc.subjectFunction-as-a-Service
dc.subjectMachine Learning
dc.subjectReinforcement Learning
dc.subjectScheduling
dc.subjectServerless Computing
dc.subjectComputer science
dc.subject.otherComputer science and systems
dc.titleFaaSRank: A Reinforcement Learning Scheduler for Serverless Function-as-a-Service Platforms
dc.typeThesis

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Yu_washington_0250O_22655.pdf
Size:
1.04 MB
Format:
Adobe Portable Document Format