skip to main content
10.1145/3630180.3631203acmconferencesArticle/Chapter ViewAbstractPublication PagesmiddlewareConference Proceedingsconference-collections
research-article

Enoki: Stateful Distributed FaaS from Edge to Cloud

Published: 11 December 2023 Publication History

Abstract

Function-as-a-Service (FaaS) is a promising paradigm for applications distributed across the edge-cloud continuum. FaaS functions are stateless by nature, leading to high elasticity and transparent invocation. Supporting stateful applications, however, requires integrating data storage in FaaS, which is not trivial in an edge-cloud environment.
We propose Enoki, an architecture for stateful FaaS computing replicated across the edge-cloud continuum. Enoki integrates a replicated key-value store with single-node FaaS systems at edge and cloud nodes in order to provide low-latency local data access for functions without breaking the abstraction of the FaaS programming model. We evaluate Enoki with microbenchmarks on an open-source prototype and demonstrate building a stateful FaaS application with multiple functions distributed over edge and cloud.

References

[1]
Mohammad S. Aslanpour, Adel N. Toosi, Claudio Cicconetti, Bahman Javadi, Peter Sbarski, Davide Taibi, Marcos Assuncao, Sukhpal Singh Gill, Raj Gaire, and Schahram Dustdar. 2021. Serverless Edge Computing: Vision and Challenges. In Proceedings of the 2021 Australasian Computer Science Week Multiconference (Dunedin, New Zealand) (ACSW '21). Association for Computing Machinery, New York, NY, USA, 1--10. https://doi.org/10.1145/3437378.3444367
[2]
Martin A. Brown. 2006. Traffic Control HOWTO. Technical Report 102. The Linux Documentation Project. https://tldp.org/HOWTO/pdf/Traffic-Control-HOWTO.pdf
[3]
Sebastian Burckhardt, Chris Gillum, David Justo, Konstantinos Kallas, Connor McMahon, and Christopher S. Meiklejohn. 2021. Durable Functions: Semantics for Stateful Serverless. Proceedings of the ACM on Programming Languages 5, Article 133 (Oct. 2021), 27 pages. https://doi.org/10.1145/3485510
[4]
Philipp Gackstatter, Pantelis A. Frangoudis, and Schahram Dustdar.2022. Pushing Serverless to the Edge with WebAssembly Runtimes. In Proceedings of the 22nd IEEE International Symposium on Cluster, Cloud and Internet Computing (Taormina, Italy) (CCGRID '22). IEEE, New York, NY, USA, 140--149. https://doi.org/10.1109/CCGrid54584.2022.00023
[5]
Martin Grambow, Tobias Pfandzelter, Luk Burchard, Carsten Schubert, Max Zhao, and David Bermbach. 2021. BeFaaS: An Application-Centric Benchmarking Framework for FaaS Platforms. In Proceedings of the 9th IEEE International Conference on Cloud Engineering (San Francisco, CA, USA) (IC2E 2021). IEEE, New York, NY, USA, 1--8. https://doi.org/10.1109/IC2E52221.2021.00014
[6]
Daniel Habenicht, Kevin Kreutz, Soeren Becker, Jonathan Bader, Lauritz Thamsen, and Odej Kao. 2022. SyncMesh: Improving Data Locality for Function-as-a-Service in Meshed Edge Networks. In Proceedings of the 5th International Workshop on Edge Systems, Analytics and Networking (Rennes, France) (EdgeSys '22). Association for Computing Machinery, New York, NY, USA, 55--60. https://doi.org/10.1145/3517206.3526275
[7]
Raphael Hetzel, Teemu Kärkkäinen, and Jörg Ott. 2021. μActor: Stateful Serverless at the Edge. In Proceedings of the 1st Workshop on Serverless Mobile Networking for 6G Communications (Virtual, WI, USA) (MobileServerless '21). Association for Computing Machinery, New York, NY, USA, 1--6. https://doi.org/10.1145/3469263.3470828
[8]
Eric Jonas, Johann Schleier-Smith, Vikram Sreekanti, Chia-Che Tsai, Anurag Khandelwal, Qifan Pu, Vaishaal Shankar, Joao Carreira, Karl Krauth, Neeraja Yadwadkar, et al. 2019. Cloud Programming Simplified: A Berkeley View on Serverless Computing. Technical Report 20193. EECS Department, University of California, Berkeley, Berkeley, CA, USA. http://www2.eecs.berkeley.edu/Pubs/TechRpts/2019/EECS-2019-3.html
[9]
Pekka Karhula, Jan Janak, and Henning Schulzrinne. 2019. Checkpointing and Migration of IoT Edge Functions. In Proceedings of the 2nd International Workshop on Edge Systems, Analytics and Networking (Dresden, Germany) (EdgeSys '19). Association for Computing Machinery, New York, NY, USA, 60--65. https://doi.org/10.1145/3301418.3313947
[10]
Andrei Palade, Aqeel Kazmi, and Siobhán Clarke. 2019. An Evaluation of Open Source Serverless Computing Frameworks Support at the Edge. In Proceedings of the 2019 IEEE World Congress on Services (Milan, Italy) (SERVICES '19). IEEE, New York, NY, USA, 206--211. https://doi.org/10.1109/SERVICES.2019.00057
[11]
Tobias Pfandzelter and David Bermbach. 2019. IoT Data Processing in the Fog: Functions, Streams, or Batch Processing?. In Proceedings of the 1st Workshop on Efficient Data Movement in Fog Computing (Prague, Czech Republic) (DaMove 2019). IEEE, New York, NY, USA, 201--206. https://doi.org/10.1109/ICFC.2019.00033
[12]
Tobias Pfandzelter and David Bermbach. 2020. tinyFaaS: A Lightweight FaaS Platform for Edge Environments. In Proceedings of the Second IEEE International Conference on Fog Computing (Sydney, NSW, Australia) (ICFC 2020). IEEE, New York, NY, USA, 17--24. https://doi.org/10.1109/ICFC49376.2020.00011
[13]
Tobias Pfandzelter, Sören Henning, Trever Schirmer, Wilhelm Hasselbring, and David Bermbach. 2022. Streaming vs. Functions: A Cost Perspective on Cloud Event Processing. In Proceedings of the 10th IEEE International Conference on Cloud Engineering (Asilomar, CA, USA) (IC2E 2022). IEEE, New York, NY, USA, 67--78. https://doi.org/10.1109/IC2E55432.2022.00015
[14]
Tobias Pfandzelter, Nils Japke, Trever Schirmer, Jonathan Hasenburg, and David Bermbach. 2023. Managing Data Replication and Distribution in the Fog with FReD. Software: Practice and Experience 53, 10 (Oct. 2023), 1958--1981. https://doi.org/10.1002/spe.3237
[15]
Philipp Raith, Stefan Nastic, and Schahram Dustdar. 2023. Serverless Edge Computing---Where We Are and What Lies Ahead. IEEE Internet Computing 27, 3 (May 2023), 50--64. https://doi.org/10.1109/MIC.2023.3260939
[16]
Thomas Rausch, Waldemar Hummer, Vinod Muthusamy, Alexander Rashed, and Schahram Dustdar. 2019. Towards a Serverless Platform for Edge AI. In Proceedings of the 2nd USENIX Workshop on Hot Topics in Edge Computing (Renton, WA, USA) (HotEdge '19). USENIX Association, Berkeley, CA, USA.
[17]
Thomas Rausch, Alexander Rashed, and Schahram Dustdar. 2021. Optimized Container Scheduling for Data-Intensive Serverless Edge Computing. Future Generation Computer Systems 114 (2021), 259--271. https://doi.org/10.1016/j.future.2020.07.017
[18]
Bianca Schroeder, Adam Wierman, and Mor Harchol-Balter. 2006. Open Versus Closed: A Cautionary Tale. In Proceedings of the 3rd USENIX Symposium on Networked Systems Design & Implementation (San Jose, CA, USA) (NSDI '06). USENIX Association, Berkeley, CA, USA, 206--211.
[19]
Marc Shapiro, Nuno Preguiça, Carlos Baquero, and Marek Zawirski. 2011. A comprehensive study of Convergent and Commutative Replicated Data Types. Technical Report 7506. Institut National de Recherche en Informatique et en Automatique (INRIA), Paris, France. https://hal.inria.fr/inria-00555588
[20]
Christopher Peter Smith, Anshul Jindal, Mohak Chadha, Michael Gerndt, and Shajulin Benedict. 2022. FaDO: FaaS Functions and Data Orchestrator for Multiple Serverless Edge-Cloud Clusters. In Proceedings of the 6th IEEE International Conference on Fog and Edge Computing (Taormina, Italy) (ICFEC '22). IEEE, New York, NY, USA, 17--25. https://doi.org/10.1109/ICFEC54809.2022.00010

Cited By

View all
  • (2024)Komet: A Serverless Platform for Low-Earth Orbit Edge ServicesProceedings of the 2024 ACM Symposium on Cloud Computing10.1145/3698038.3698517(866-882)Online publication date: 20-Nov-2024
  • (2024)Multi-armed Bandits for Self-distributing Stateful Services across Networking InfrastructuresNOMS 2024-2024 IEEE Network Operations and Management Symposium10.1109/NOMS59830.2024.10575692(1-6)Online publication date: 6-May-2024
  • (2024)Low-Latency State Management for Real-Time Tasks in Edge Serverless2024 IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA)10.1109/ISPA63168.2024.00010(10-17)Online publication date: 30-Oct-2024
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
MiddleWEdge '23: Proceedings of the 2nd International Workshop on Middleware for the Edge
December 2023
31 pages
ISBN:9798400704512
DOI:10.1145/3630180
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

In-Cooperation

  • IFIP: International Federation for Information Processing

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 11 December 2023

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. FaaS
  2. edge computing
  3. serverless

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

Conference

Middleware '23
Sponsor:

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)89
  • Downloads (Last 6 weeks)2
Reflects downloads up to 18 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Komet: A Serverless Platform for Low-Earth Orbit Edge ServicesProceedings of the 2024 ACM Symposium on Cloud Computing10.1145/3698038.3698517(866-882)Online publication date: 20-Nov-2024
  • (2024)Multi-armed Bandits for Self-distributing Stateful Services across Networking InfrastructuresNOMS 2024-2024 IEEE Network Operations and Management Symposium10.1109/NOMS59830.2024.10575692(1-6)Online publication date: 6-May-2024
  • (2024)Low-Latency State Management for Real-Time Tasks in Edge Serverless2024 IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA)10.1109/ISPA63168.2024.00010(10-17)Online publication date: 30-Oct-2024
  • (2024)Towards Anti-Collision Coordination for UAVs with Serverless Edge Computing2024 IEEE International Conference on Cloud Engineering (IC2E)10.1109/IC2E61754.2024.00035(247-248)Online publication date: 24-Sep-2024
  • (2024)GeoFaaS: An Edge-to-Cloud FaaS Platform2024 IEEE International Conference on Cloud Engineering (IC2E)10.1109/IC2E61754.2024.00014(66-71)Online publication date: 24-Sep-2024
  • (2023)Serverless Abstractions for Edge Computing in Large Low-Earth Orbit Satellite NetworksProceedings of the 24th International Middleware Conference: Demos, Posters and Doctoral Symposium10.1145/3626564.3629088(3-6)Online publication date: 11-Dec-2023

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media