TY - GEN
T1 - FaaSRank
T2 - 2nd IEEE International Conference on Autonomic Computing and Self-Organizing Systems, ACSOS 2021
AU - Yu, Hanfei
AU - Irissappane, Athirai A.
AU - Wang, Hao
AU - Lloyd, Wes J.
N1 - Publisher Copyright:
© 2021 IEEE.
PY - 2021
Y1 - 2021
N2 - Current serverless Function-as-a-Service (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 paper, we present FaaSRank, a function scheduler 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 supported by our novel Score-Rank-Select architecture. We implemented FaaSRank in Apache OpenWhisk, an open source FaaS platform, and evaluated performance against other baseline schedulers including OpenWhisk's default scheduler on two 13-node OpenWhisk clusters. For training and evaluation, we adapted real-world serverless workload traces provided by Microsoft Azure. For the duration of test workloads, FaaSRank sustained on average a lower number of inflight invocations 59.62 % and 70.43 % as measured on two clusters respectively. We also demonstrate the generalizability of FaaSRank for any workload. When trained using a composite of 50 episodes each for 10 distinct random workloads, FaaSRank reduced average function completion time by 23.05% compared to OpenWhisk's default scheduler.
AB - Current serverless Function-as-a-Service (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 paper, we present FaaSRank, a function scheduler 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 supported by our novel Score-Rank-Select architecture. We implemented FaaSRank in Apache OpenWhisk, an open source FaaS platform, and evaluated performance against other baseline schedulers including OpenWhisk's default scheduler on two 13-node OpenWhisk clusters. For training and evaluation, we adapted real-world serverless workload traces provided by Microsoft Azure. For the duration of test workloads, FaaSRank sustained on average a lower number of inflight invocations 59.62 % and 70.43 % as measured on two clusters respectively. We also demonstrate the generalizability of FaaSRank for any workload. When trained using a composite of 50 episodes each for 10 distinct random workloads, FaaSRank reduced average function completion time by 23.05% compared to OpenWhisk's default scheduler.
KW - Cloud-Computing
KW - Machine-Learning
KW - Reinforcement-Learning
KW - Scheduling
KW - Serverless-Computing
UR - http://www.scopus.com/inward/record.url?scp=85124805709&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85124805709&partnerID=8YFLogxK
U2 - 10.1109/ACSOS52086.2021.00023
DO - 10.1109/ACSOS52086.2021.00023
M3 - Conference contribution
AN - SCOPUS:85124805709
T3 - Proceedings - 2021 IEEE International Conference on Autonomic Computing and Self-Organizing Systems, ACSOS 2021
SP - 31
EP - 40
BT - Proceedings - 2021 IEEE International Conference on Autonomic Computing and Self-Organizing Systems, ACSOS 2021
A2 - El-Araby, Esam
A2 - Kalogeraki, Vana
A2 - Pianini, Danilo
A2 - Lassabe, Frederic
A2 - Porter, Barry
A2 - Ghahremani, Sona
A2 - Nunes, Ingrid
A2 - Bakhouya, Mohamed
A2 - Tomforde, Sven
Y2 - 27 September 2021 through 1 October 2021
ER -