Abstract
Serverless computing has greatly simplified cloud programming. It liberates cloud tenants from various system administration and resource management tasks, such as configuration and provisioning. Under this new cloud computing paradigm, a single monolithic application is divided into separate stateless functions, i.e., function-as-a-service (FaaS), which are then orchestrated together to support complex business logic. But there is a fundamental cost associated with this enhanced flexibility. Internal network connections between functions are now initiated frequently, to support serverless features such as agile autoscaling and function chains, raising communication latency. To alleviate this cost, current serverless providers sacrifice security for performance, keeping internal function communications unencrypted. We believe that the emerging QUIC protocol, which has secured and accelerated HTTP communications in the wide area, could proffer a solution to this challenge. We design a QUIC-based FaaS framework, called QFaaS, and implement it on the OpenFaaS platform. Our design explicitly ensures that existing serverless applications can directly benefit from QFaaS without any application code modification. Experiments on synthetic functions and real-world applications demonstrate that QFaaS can reduce communication latency for single functions and function chains by 28% and 40%, respectively, and save up to 50 ms in end-user response time.
Original language | English (US) |
---|---|
Title of host publication | SoCC 2022 - Proceedings of the 13th Symposium on Cloud Computing |
Publisher | Association for Computing Machinery, Inc |
Pages | 240-256 |
Number of pages | 17 |
ISBN (Electronic) | 9781450394147 |
DOIs | |
State | Published - Nov 7 2022 |
Event | 13th Annual ACM Symposium on Cloud Computing, SoCC 2022 - San Francisco, United States Duration: Nov 7 2022 → Nov 11 2022 |
Publication series
Name | SoCC 2022 - Proceedings of the 13th Symposium on Cloud Computing |
---|
Conference
Conference | 13th Annual ACM Symposium on Cloud Computing, SoCC 2022 |
---|---|
Country/Territory | United States |
City | San Francisco |
Period | 11/7/22 → 11/11/22 |
Funding
We thank our shepherd, Haggai Eran, and all anonymous reviewers for their insightful feedback. This project is based on work supported by the National Science Foundation (NSF) under grant CNS 2229455.
Keywords
- QUIC protocol
- cloud networking
- serverless computing
- serverless network performance and security
ASJC Scopus subject areas
- Artificial Intelligence
- Information Systems
- Software
- Computational Theory and Mathematics
- Computer Science Applications