Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3517206.3526274acmconferencesArticle/Chapter ViewAbstractPublication PageseurosysConference Proceedingsconference-collections
research-article
Public Access

Towards efficient processing of latency-sensitive serverless DAGs at the edge

Published: 05 April 2022 Publication History

Abstract

Many emerging novel applications expect "near real-time" processing and responses, which can not be guaranteed by today's Cloud and would require processing at the Edge. Serverless computing is a particularly promising architecture for edge environments since it offers to improve efficiency by precisely scaling resources to meet application needs. As the edge applications grow more complex and get composed from a subset of simpler functions or microservices, there is a need to support more complicated function topologies which can be represented as directed acyclic graphs (DAGs). However, running DAG functions on a serverless platform poses new challenges related to interconnecting, instantiating, and scheduling function sandboxes. In this paper1, we explore how Sledge, a Wasm-based serverless runtime, can be extended to support DAG functions. Sledge's unique design allows for extremely lightweight sandbox instantiation - a new sandbox can be started for each function invocation in under 30μsec - which mitigates the cold start problems that can be especially detrimental to DAGs. Rather than relying on expensive coordination via shared storage, the enhanced Sledge framework provides a fast memory communication channel to propagate data through the DAG. We consider the DAGs with service level objectives, defined by their execution deadlines. To ensure the DAGs meet their performance requirements, we consider, analyze, and compare two deadline-aware pluggable schedulers (that we implemented in Sledge) on a variety of realistic workloads.

References

[1]
I. Akkus, R. Chen, I. Rimac, M. Stein, K. Satzke, A. Beck, P. Aditya, and V. Hilt. 2018. SAND: Towards High-Performance Serverless Computing. In Proc. of the 2018 Usenix Annual Technical Conference.
[2]
AWS Lambda 2014. https://aws.amazon.com/lambda/.
[3]
AWS Step Functions 2020. https://amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html.
[4]
Azure Durable functions 2020. https://docs.microsoft.com/en-us/azure/azure-functions/durable/.
[5]
V. M. Bhasi, J. Gunasekaran, P. Thinakaran, C. Mishra, M. Kandemir, and C. Das. 2021. Kraken: Adaptive Container Provisioning for Deploying Dynamic DAGs in Serverless Platforms. In Proc. of the ACM Symp. on Cloud Computing (SoCC'21).
[6]
D. Du, T. Yu, Y. Xia, B. Zang, G. Yan, C. Qin, Q. Wu, and H. Chen. 2020. Catalyzer: Sub-Millisecond Startup for Serverless Computing with Initialization-Less Booting. In Proc. of the 25th Intl. Conf. on Architectural Support for Programming Languages and Operating Systems.
[7]
Firecracker-microVM 2019. https://github.com/firecracker-microvm/firecracker/blob/master/docs/snapshotting/snapshot-support.md.
[8]
P. Gadepalli, S. McBride, G. Peach, L. Cherkasova, and G. Parmer. 2020. Sledge: A Serverless-First, Light-Weight Wasm Runtime for the Edge. In Proc. of the 21st Intl. Middleware Conference.
[9]
P. K. Gadepalli, G. Peach, L. Cherkasova, R. Aitken, and G. Parmer. 2019. Challenges and Opportunities for Efficient Serverless Computing at the Edge. In Proc. of the 37th IEEE Symp. on Reliable Distributed Systems.
[10]
Google Cloud Composer 2020. https://cloud.google.com/composer.
[11]
Google Cloud Functions 2019. https://cloud.google.com/functions/.
[12]
A. Haas, A. Rossberg, D. L. Schuff, B. L. Titzer, M. Holman, D. Gohman, L. Wagner, A. Zakai, and J.F Bastien. 2017. Bringing the Web Up to Speed with WebAssembly. In Proc. of the 38th ACM SIGPLAN Conf. on Programming Language Design and Implementation (PLDI '17).
[13]
A. Hall and U. Ramachandran. 2019. An Execution Model for Serverless Functions at the Edge. In Proc. of the Intl. Conf. on Internet of Things Design and Implementation (IoTDI '19).
[14]
IBM Cloud Functions 2019. https://cloud.ibm.com/functions.
[15]
Interview: Google gVisor and the Challenge of Securing Multitenant Containers 2018. https://thenewstack.io/interview-google-gvisor-and-the-challenge-of-securing-multitenant-containers.
[16]
Zhipeng Jia and Emmett Witchel. 2021. Nightcore: Efficient and Scalable Serverless Computing for Latency-Sensitive, Interactive Micro services. In Proc. of the 26th ACM Intl. Conf. on Architectural Support for Programming Languages and Operating Systems (ASPLOS 2021).
[17]
Ricardo Koller and Dan Williams. 2017. Will Serverless End the Dominance of Linux in the Cloud? (HotOS '17).
[18]
loadtest 2020. https://www.npmjs.com/package/loadtest.
[19]
Lucet: 2019. https://github.com/fastly/lucet.
[20]
A. Mahgoub, K. Shankar, S. Mitra, A. Klimovic, S. Chaterji, and S. Bagchi. 2021. SONIC: Application-aware Data Passing for Chained Serverless Applications. In 2021 USENIX Annual Technical Conference.
[21]
Filipe Manco, Costin Lupu, Florian Schmidt, Jose Mendes, Simon Kuenzer, Sumit Sati, Kenichi Yasukata, Costin Raiciu, and Felipe Huici. 2017. My VM is Lighter (and Safer) Than Your Container. In Proceedings of the 26th Symposium on Operating Systems Principles (SOSP).
[22]
Microsoft Azure Functions 2019. https://azure.microsoft.com/en-us/services/functions/.
[23]
M. Shahrad, R. Fonseca, I. Goiri, G. Chaudhry, P. Batum, J. Cooke, E. Laureano, C. Tresness, M. Russinovich, and R. Bianchini. 2020. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider. In Proc. of USENIX ATC.
[24]
S. Shillaker and P. Pietzuch. 2020. Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing. In Proc. of USENIX Annual Technical Conference.
[25]
A. Singhvi, A. Balasubramanian, K. Houck, M. Shaikh, S. Venkataraman, and A. Akella. 2021. Atoll: A Scalable Low-Latency Serverless Platform. In Proceedings of the ACM Symposium on Cloud Computing (SoCC'21).
[26]
Snoyman 2019. Michael Snoyman: "Serverless Rust using WASM and Cloudflare", https://tech.fpcomplete.com/blog/serverless-rust-wasm-cloudflare.
[27]
D. Ustiugov, P. Petrov, M. Kogias, E. Bugnion, and B. Grot. 2021. Benchmarking, Analysis, and Optimization of Serverless Function Snapshots. In Proc. of the 26th ACM Intl. Conf. on Architectural Support for Programming Languages and Operating Systems.
[28]
Varda October 1, 2018. Kenton Varda: "WebAssembly on Cloudflare Workers", https://blog.cloudflare.com/webassembly-on-cloudflare-workers/.
[29]
L. Wang, M. Li, Y. Zhang, T. Ristenpart, and M. Swift. 2018. Peeking Behind the Curtains of Serverless Platforms. In Proc. of USENIX Annual Technical Conference.
[30]
White Paper of Edge Computing Consortium 2017. https://www.iotaustralia.org.au/wp-content/uploads/2017/01/White-Paper-of-Edge-Computing-Consortium.pdf.

Cited By

View all
  • (2024)AI-Driven QoS-Aware Scheduling for Serverless Video Analytics at the EdgeInformation10.3390/info1508048015:8(480)Online publication date: 13-Aug-2024
  • (2024)A framework for offloading and migration of serverless functions in the Edge–Cloud ContinuumPervasive and Mobile Computing10.1016/j.pmcj.2024.101915100:COnline publication date: 1-May-2024
  • (2024)QoS-aware offloading policies for serverless functions in the Cloud-to-Edge continuumFuture Generation Computer Systems10.1016/j.future.2024.02.019156:C(1-15)Online publication date: 18-Jul-2024
  • Show More Cited By

Index Terms

  1. Towards efficient processing of latency-sensitive serverless DAGs at the edge

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      EdgeSys '22: Proceedings of the 5th International Workshop on Edge Systems, Analytics and Networking
      April 2022
      67 pages
      ISBN:9781450392532
      DOI:10.1145/3517206
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 05 April 2022

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. DAGs
      2. SLOs
      3. WebAssembly
      4. edge computing
      5. serverless

      Qualifiers

      • Research-article

      Funding Sources

      Conference

      EuroSys '22
      Sponsor:

      Acceptance Rates

      Overall Acceptance Rate 10 of 23 submissions, 43%

      Upcoming Conference

      EuroSys '25
      Twentieth European Conference on Computer Systems
      March 30 - April 3, 2025
      Rotterdam , Netherlands

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)293
      • Downloads (Last 6 weeks)32
      Reflects downloads up to 12 Sep 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)AI-Driven QoS-Aware Scheduling for Serverless Video Analytics at the EdgeInformation10.3390/info1508048015:8(480)Online publication date: 13-Aug-2024
      • (2024)A framework for offloading and migration of serverless functions in the Edge–Cloud ContinuumPervasive and Mobile Computing10.1016/j.pmcj.2024.101915100:COnline publication date: 1-May-2024
      • (2024)QoS-aware offloading policies for serverless functions in the Cloud-to-Edge continuumFuture Generation Computer Systems10.1016/j.future.2024.02.019156:C(1-15)Online publication date: 18-Jul-2024
      • (2023)Serverledge: Decentralized Function-as-a-Service for the Edge-Cloud Continuum2023 IEEE International Conference on Pervasive Computing and Communications (PerCom)10.1109/PERCOM56429.2023.10099372(131-140)Online publication date: 13-Mar-2023
      • (2023)Behavior Tree-based Workflow Modeling and Scheduling for Serverless Edge Computing2023 IEEE 43rd International Conference on Distributed Computing Systems (ICDCS)10.1109/ICDCS57875.2023.00100(955-956)Online publication date: Jul-2023
      • (2022)Balancing Three Important Goals for Runtimes - Isolation, High Performance, and Resource Efficiency2022 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C)10.1109/ACSOSC56246.2022.00031(60-62)Online publication date: Sep-2022

      View Options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Get Access

      Login options

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media