Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3605181.3626284acmconferencesArticle/Chapter ViewAbstractPublication PagessospConference Proceedingsconference-collections
research-article
Open access

μ: A bolt-on approach for faster and cheaper serverless computing

Published: 23 October 2023 Publication History

Abstract

Serverless computing shifts the responsibility of managing and configuring the cloud infrastructure from the user to the provider. However, in the FaaS model, users are still faced with non-trivial resource allocation and management choices, in particular with respect to the way that intra- and inter-function parallelism is managed. As a consequence, deploying a cloud function with an incorrect configuration for either of these two dimensions of parallelism can lead to an unnecessary increase in execution time, cost, or both.
In this paper, we call the attention to the fact that this is one of the final hurdles to realizing the vision behind server-less computing. To overcome it without requiring changes to the existing cloud infrastructure, we propose the design of μ, a system that transparently manages the balance between intra- and inter-function parallelism on behalf of the user. μ is designed as a shim layer to be mostly transparent to the application developer and fully compatible with today's cloud services. Our design allows for running multiple tasks in a single function, using the extra resources that the user is already paying for. This allows for maximizing resource utilization, and leads to cost reductions and performance improvements, without the requiring the user to reason about resource allocation.

References

[1]
[n.d.]. AWS Lambda Pricing. https://aws.amazon.com/lambda/pricing/. [Online; accessed 22-May-2023].
[2]
[n.d.]. Pillow - Python Imaging Library. https://pypi.org/project/Pillow/. [Online; accessed 22-May-2023].
[3]
2023. EuroSys '23: Proceedings of the Eighteenth European Conference on Computer Systems (Rome, Italy). Association for Computing Machinery, New York, NY, USA.
[4]
Istemi Ekin Akkus, Ruichuan Chen, Ivica Rimac, Manuel Stein, Klaus Satzke, Andre Beck, Paarijaat Aditya, and Volker Hilt. 2018. SAND: Towards High-Performance Serverless Computing. In Proceedings of the 2018 USENIX Conference on Usenix Annual Technical Conference (Boston, MA, USA) (USENIX ATC '18). USENIX Association, USA, 923--935.
[5]
Amazon. [n.d.]. Amazon Web Services Documentation. https://docs.aws.amazon.com/lambda/latest/dg/welcome.html. [Online; accessed 6-May-2022].
[6]
AWS. [n.d.]. Amazon Cloudwatch. https://aws.amazon.com/cloudwatch/. [Online; accessed 19-May-2022].
[7]
AWS. [n.d.]. Amazon EC2: Elastic Compute Cloud. https://aws.amazon.com/ec2/. [Online; accessed 19-May-2022].
[8]
Daniel Barcelona-Pons, Marc Sánchez-Artigas, Gerard París, Pierre Sutra, and Pedro García-López. 2019. On the FaaS Track: Building Stateful Distributed Applications with Serverless Architectures. In Proceedings of the 20th International Middleware Conference (Davis, CA, USA) (Middleware '19). Association for Computing Machinery, New York, NY, USA, 41--54.
[9]
Benjamin Carver, Jingyuan Zhang, Ao Wang, Ali Anwar, Panruo Wu, and Yue Cheng. 2020. Wukong: a scalable and locality-enhanced framework for serverless parallel computing. In SoCC '20: ACM Symposium on Cloud Computing, Virtual Event, USA, October 19--21, 2020, Rodrigo Fonseca, Christina Delimitrou, and Beng Chin Ooi (Eds.). ACM, 1--15.
[10]
Marcin Copik, Grzegorz Kwasniewski, Maciej Besta, Michal Podstawski, and Torsten Hoefler. 2021. SeBS: a serverless benchmark suite for function-as-a-service computing. In Middleware '21: 22nd International Middleware Conference, Québec City, Canada, December 6 - 10, 2021, Kaiwen Zhang, Abdelouahed Gherbi, Nalini Venkatasubramanian, and Luís Veiga (Eds.). ACM, 64--78.
[11]
Sadjad Fouladi, Francisco Romero, Dan Iter, Qian Li, Shuvo Chatterjee, Christos Kozyrakis, Matei Zaharia, and Keith Winstein. 2019. From Laptop to Lambda: Outsourcing Everyday Jobs to Thousands of Transient Functional Containers. In 2019 USENIX Annual Technical Conference, USENIX ATC 2019, Renton, WA, USA, July 10--12, 2019, Dahlia Malkhi and Dan Tsafrir (Eds.). USENIX Association, 475--488. https://www.usenix.org/conference/atc19/presentation/fouladi
[12]
Zhipeng Jia and Emmett Witchel. 2021. Nightcore: Efficient and Scalable Serverless Computing for Latency-Sensitive, Interactive Microservices. In Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (Virtual, USA) (ASPLOS '21). Association for Computing Machinery, New York, NY, USA, 152--166.
[13]
Michael Kiener, Mohak Chadha, and Michael Gerndt. 2021. Towards Demystifying Intra-Function Parallelism in Serverless Computing. In WoSC '21: Proceedings of the Seventh International Workshop on Serverless Computing (WoSC7) 2021, Virtual Event, Québec City, Canada, 6 December 2021. ACM, 42--49.
[14]
Swaroop Kotni, Ajay Nayak, Vinod Ganapathy, and Arkaprava Basu. 2021. Faastlane: Accelerating Function-as-a-Service Workflows. In 2021 USENIX Annual Technical Conference (USENIX ATC 21). USENIX Association, 805--820. https://www.usenix.org/conference/atc21/presentation/kotni
[15]
Haoran Qiu, Subho S. Banerjee, Saurabh Jha, Zbigniew T. Kalbarczyk, and Ravishankar K. Iyer. 2020. FIRM: An Intelligent Fine-grained Resource Management Framework for SLO-Oriented Microservices. In 14th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2020, Virtual Event, November 4--6, 2020. USENIX Association, 805--825. https://www.usenix.org/conference/osdi20/presentation/qiu
[16]
Johann Schleier-Smith, Vikram Sreekanti, Anurag Khandelwal, João Carreira, Neeraja Jayant Yadwadkar, Raluca Ada Popa, Joseph E. Gonzalez, Ion Stoica, and David A. Patterson. 2021. What serverless computing is and should become: the next phase of cloud computing. Commun. ACM 64, 5 (2021), 76--84.
[17]
Vaishaal Shankar, Karl Krauth, Kailas Vodrahalli, Qifan Pu, Benjamin Recht, Ion Stoica, Jonathan Ragan-Kelley, Eric Jonas, and Shivaram Venkataraman. 2020. Serverless Linear Algebra. In Proceedings of the 11th ACM Symposium on Cloud Computing (Virtual Event, USA) (SoCC '20). Association for Computing Machinery, New York, NY, USA, 281--295.
[18]
Jovan Stojkovic, Tianyin Xu, Hubertus Franke, and Josep Torrellas. 2023. MXFaaS: Resource Sharing in Serverless Environments for Parallelism and Efficiency. In Proceedings of the 50th Annual International Symposium on Computer Architecture (Orlando, FL, USA) (ISCA '23). Association for Computing Machinery, New York, NY, USA, Article 34, 15 pages.
[19]
Wen Zhang, Vivian Fang, Aurojit Panda, and Scott Shenker. 2020. Kappa: a programming framework for serverless computing. In SoCC '20: ACM Symposium on Cloud Computing, Virtual Event, USA, October 19--21, 2020, Rodrigo Fonseca, Christina Delimitrou, and Beng Chin Ooi (Eds.). ACM, 328--343.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
WORDS '23: Proceedings of the 4th Workshop on Resource Disaggregation and Serverless
October 2023
60 pages
ISBN:9798400702501
DOI:10.1145/3605181
This work is licensed under a Creative Commons Attribution International 4.0 License.

Sponsors

In-Cooperation

  • USENIX

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 October 2023

Check for updates

Qualifiers

  • Research-article

Conference

WORDS '23
Sponsor:

Upcoming Conference

SOSP '25
ACM SIGOPS 31st Symposium on Operating Systems Principles
October 13 - 16, 2025
Seoul , Republic of Korea

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 225
    Total Downloads
  • Downloads (Last 12 months)146
  • Downloads (Last 6 weeks)17
Reflects downloads up to 16 Feb 2025

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media