Energy-Efficient Deployment of Stateful FaaS Vertical Applications on Edge Data Networks

Read original: arXiv:2405.04263 - Published 5/8/2024 by Claudio Cicconetti, Raffaele Bruno, Andrea Passarella
Total Score

0

📊

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • 5G and beyond networks enable the deployment of vertical applications, which can be enhanced by network slicing and edge computing to create isolated environments for executing customer services.
  • While serverless computing (also known as Function as a Service or FaaS) has gained popularity in cloud-native environments, its adoption at the edge is lagging, particularly due to the need to support stateful tasks that are common in applications like cognitive services.
  • This research explores the emerging paradigm of stateful FaaS with lightweight task abstractions using WebAssembly, a technology that enables efficient execution of code on edge devices.

Plain English Explanation

The paper examines how the latest 5G and future wireless technologies can be used to deploy specialized applications for different industries (known as "vertical applications"). These applications can benefit from network slicing and edge computing, which create isolated environments for running customer services closer to the devices that use them.

One promising technology for running these services is serverless computing, also called "Function as a Service" (FaaS). FaaS allows developers to run small pieces of code (called "functions") without needing to manage the underlying infrastructure. However, adopting FaaS at the edge has been challenging, especially for applications that need to maintain state (keep track of information) between function calls, like cognitive services.

The researchers in this paper study a new approach called "stateful FaaS" that uses a lightweight technology called WebAssembly to enable stateful tasks to run efficiently on edge devices. They assess the tradeoffs between stateless and stateful approaches in terms of energy consumption, which is a critical factor for edge computing.

Technical Explanation

The paper explores the use of stateful FaaS with lightweight task abstractions in WebAssembly as a way to deploy interdependent, stateful tasks on edge computing resources. The researchers compare the energy consumption of stateless vs. stateful approaches, considering both the power used for processing and communication.

To do this, they derive a mathematical model to estimate the energy consumption of a given workload based on its characteristics. They then use this model in extensive simulations to determine the impact of key factors and assess the energy trade-offs between stateless and stateful approaches.

The results provide insights into the conditions under which stateful FaaS can be more energy-efficient than stateless FaaS for edge computing, particularly in scenarios with energy-constrained IoT applications that require maintaining state across function invocations.

Critical Analysis

The paper presents a thorough analysis of the energy implications of stateful FaaS on edge computing, which is an important consideration for empowering IoT applications in real-world settings. However, the research is limited to a simulation-based approach and does not include any experimental validation on actual edge devices.

Additionally, the paper acknowledges that the proposed mathematical model may not capture all the nuances of real-world edge computing environments, such as the impact of network conditions, hardware heterogeneity, and dynamic workload changes. Further research and empirical evaluation would be necessary to fully understand the practical implications of stateful FaaS at the edge.

Conclusion

This research explores the potential benefits of using stateful FaaS with WebAssembly to deploy interdependent, stateful tasks on edge computing resources. The paper provides a detailed analysis of the energy trade-offs between stateless and stateful approaches, suggesting that stateful FaaS can be more energy-efficient in certain scenarios involving energy-constrained IoT applications. These findings have important implications for the future development and adoption of edge computing technologies to support a wide range of vertical applications.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

📊

Total Score

0

Energy-Efficient Deployment of Stateful FaaS Vertical Applications on Edge Data Networks

Claudio Cicconetti, Raffaele Bruno, Andrea Passarella

5G and beyond support the deployment of vertical applications, which is particularly appealing in combination with network slicing and edge computing to create a logically isolated environment for executing customer services. Even if serverless computing has gained significant interest as a cloud-native technology its adoption at the edge is lagging, especially because of the need to support stateful tasks, which are commonplace in, e.g., cognitive services, but not fully amenable to being deployed on limited and decentralized computing infrastructures. In this work, we study the emerging paradigm of stateful Function as a Service (FaaS) with lightweight task abstractions in WebAssembly. Specifically, we assess the implications of deploying inter-dependent tasks with an internal state on edge computing resources using a stateless vs. stateful approach and then derive a mathematical model to estimate the energy consumption of a workload with given characteristics, considering the power used for both processing and communication. The model is used in extensive simulations to determine the impact of key factors and assess the energy trade-offs of stateless vs. stateful.

Read more

5/8/2024

The State of FaaS: An analysis of public Functions-as-a-Service providers
Total Score

0

The State of FaaS: An analysis of public Functions-as-a-Service providers

Nnamdi Ekwe-Ekwe, Lucas Amos

Serverless computing is a growing and maturing field that is the focus of much research, industry interest and adoption. Previous works exploring Functions-as-a-Service providers have focused primarily on the most well known providers AWS Lambda, Google Cloud Functions and Microsoft Azure Functions without exploring other providers in similar detail. In this work, we conduct the first detailed review of ten currently publicly available FaaS platforms exploring everything from their history, to their features and pricing to where they sit within the overall public FaaS landscape, before making a number of observations as to the state of the FaaS.

Read more

9/4/2024

Context-aware Container Orchestration in Serverless Edge Computing
Total Score

0

Context-aware Container Orchestration in Serverless Edge Computing

Peiyuan Guan, Chen Chen, Ziru Chen, Lin X. Cai, Xing Hao, Amir Taherkordi

Adopting serverless computing to edge networks benefits end-users from the pay-as-you-use billing model and flexible scaling of applications. This paradigm extends the boundaries of edge computing and remarkably improves the quality of services. However, due to the heterogeneous nature of computing and bandwidth resources in edge networks, it is challenging to dynamically allocate different resources while adapting to the burstiness and high concurrency in serverless workloads. This article focuses on serverless function provisioning in edge networks to optimize end-to-end latency, where the challenge lies in jointly allocating wireless bandwidth and computing resources among heterogeneous computing nodes. To address this challenge, We devised a context-aware learning framework that adaptively orchestrates a wide spectrum of resources and jointly considers them to avoid resource fragmentation. Extensive simulation results justified that the proposed algorithm reduces over 95% of converge time while the end-to-end delay is comparable to the state of the art.

Read more

8/15/2024

👀

Total Score

0

GeoFaaS: An Edge-to-Cloud FaaS Platform

Mohammadreza Malekabbasi, Tobias Pfandzelter, Trever Schirmer, David Bermbach

The massive growth of mobile and IoT devices demands geographically distributed computing systems for optimal performance, privacy, and scalability. However, existing edge-to-cloud serverless platforms lack location awareness, resulting in inefficient network usage and increased latency. In this paper, we propose GeoFaaS, a novel edge-to-cloud Function-as-a-Service (FaaS) platform that leverages real-time client location information for transparent request execution on the nearest available FaaS node. If needed, GeoFaaS transparently offloads requests to the cloud when edge resources are overloaded, thus, ensuring consistent execution without user intervention. GeoFaaS has a modular and decentralized architecture: building on the single-node FaaS system tinyFaaS, GeoFaaS works as a stand-alone edge-to-cloud FaaS platform but can also integrate and act as a routing layer for existing FaaS services, e.g., in the cloud. To evaluate our approach, we implemented an open-source proof-of-concept prototype and studied performance and fault-tolerance behavior in experiments.

Read more

7/26/2024