Abstract
Serverless computing platforms simplify development, deployment, and automated management of modular software functions. However, existing serverless platforms typically assume an over-provisioned cloud, making them a poor fit for Edge Computing environments where resources are scarce. In this paper we propose a redesigned serverless platform that comprehensively tackles the key challenges for serverless functions in a resource constrained Edge Cloud. Our Mu platform cleanly integrates the core resource management components of a serverless platform: autoscaling, load balancing, and placement. Each worker node in Mu transparently propagates metrics such as service rate and queue length in response headers, feeding this information to the load balancing system so that it can better route requests, and to our autoscaler to anticipate workload fluctuations and proactively meet SLOs. Data from the Autoscaler is then used by the placement engine to account for heterogeneity and fairness across competing functions, ensuring overall resource efficiency, and minimizing resource fragmentation. We implement our design as a set of extensions to the Knative serverless platform and demonstrate its improvements in terms of resource efficiency, fairness, and response time. Evaluating Mu, shows that it improves fairness by more than 2x over the default Kubernetes placement engine, improves 99th percentile response times by 62% through better load balancing, reduces SLO violations and resource consumption by pro-active and precise autoscaling. Mu reduces the average number of pods required by more than ∼15% for a set of real Azure workloads.
Original language | English |
---|---|
Title of host publication | SoCC 2021 - Proceedings of the 2021 ACM Symposium on Cloud Computing |
Pages | 168-181 |
Number of pages | 14 |
ISBN (Electronic) | 9781450386388 |
DOIs | |
State | Published - Nov 1 2021 |
Event | 12th Annual ACM Symposium on Cloud Computing, SoCC 2021 - Virtual, Online, United States Duration: Nov 1 2021 → Nov 4 2021 |
Publication series
Name | SoCC 2021 - Proceedings of the 2021 ACM Symposium on Cloud Computing |
---|
Conference
Conference | 12th Annual ACM Symposium on Cloud Computing, SoCC 2021 |
---|---|
Country/Territory | United States |
City | Virtual, Online |
Period | 11/1/21 → 11/4/21 |
Bibliographical note
Publisher Copyright:© 2021 Copyright held by the owner/author(s).
Keywords
- Edge clouds
- Resource management
- Serverless
ASJC Scopus subject areas
- Computational Theory and Mathematics
- Computer Science Applications