P2PFaaS: A framework for FaaS peer-to-peer scheduling and load balancing in Fog and Edge computing
In Edge and Fog Computing environments, it is usual to design and test distributed algorithms that implement scheduling and load balancing solutions. The operation paradigm that usually fits the context requires the users to make calls to the closer node for executing a task, and since the service m...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Elsevier
2023-02-01
|
Series: | SoftwareX |
Subjects: | |
Online Access: | http://www.sciencedirect.com/science/article/pii/S2352711022002084 |
_version_ | 1811166114325987328 |
---|---|
author | Gabriele Proietti Mattia Roberto Beraldi |
author_facet | Gabriele Proietti Mattia Roberto Beraldi |
author_sort | Gabriele Proietti Mattia |
collection | DOAJ |
description | In Edge and Fog Computing environments, it is usual to design and test distributed algorithms that implement scheduling and load balancing solutions. The operation paradigm that usually fits the context requires the users to make calls to the closer node for executing a task, and since the service must be distributed among a set of nodes, the serverless paradigm with the FaaS (Function-as-a-Service) is the most promising strategy to use. In light of these preconditions, we designed and implemented a framework called P2PFaaS. The framework, built upon Docker containers, allows the implementation of fully decentralised scheduling or load balancing algorithms among a set of nodes. By relying on three basic services, such as the scheduling service, the discovery service, and the learner service, the framework allows the implementation of any kind of scheduling solution, even if based on Reinforcement Learning. Finally, the framework provides a ready-to-go solution that can be installed and has been tested both on x86 servers and ARM-based edge nodes (like, for example, the Raspberry Pi). |
first_indexed | 2024-04-10T15:48:22Z |
format | Article |
id | doaj.art-43e9166dc0744e4f8b86a1a8f809e8e1 |
institution | Directory Open Access Journal |
issn | 2352-7110 |
language | English |
last_indexed | 2024-04-10T15:48:22Z |
publishDate | 2023-02-01 |
publisher | Elsevier |
record_format | Article |
series | SoftwareX |
spelling | doaj.art-43e9166dc0744e4f8b86a1a8f809e8e12023-02-12T04:15:06ZengElsevierSoftwareX2352-71102023-02-0121101290P2PFaaS: A framework for FaaS peer-to-peer scheduling and load balancing in Fog and Edge computingGabriele Proietti Mattia0Roberto Beraldi1Corresponding author.; Department of Computer, Control and Management Engineering “Antonio Ruberti”, Sapienza University of Rome, Via Ariosto 25, 00185, Rome, ItalyDepartment of Computer, Control and Management Engineering “Antonio Ruberti”, Sapienza University of Rome, Via Ariosto 25, 00185, Rome, ItalyIn Edge and Fog Computing environments, it is usual to design and test distributed algorithms that implement scheduling and load balancing solutions. The operation paradigm that usually fits the context requires the users to make calls to the closer node for executing a task, and since the service must be distributed among a set of nodes, the serverless paradigm with the FaaS (Function-as-a-Service) is the most promising strategy to use. In light of these preconditions, we designed and implemented a framework called P2PFaaS. The framework, built upon Docker containers, allows the implementation of fully decentralised scheduling or load balancing algorithms among a set of nodes. By relying on three basic services, such as the scheduling service, the discovery service, and the learner service, the framework allows the implementation of any kind of scheduling solution, even if based on Reinforcement Learning. Finally, the framework provides a ready-to-go solution that can be installed and has been tested both on x86 servers and ARM-based edge nodes (like, for example, the Raspberry Pi).http://www.sciencedirect.com/science/article/pii/S2352711022002084Edge ComputingFog ComputingFaaS |
spellingShingle | Gabriele Proietti Mattia Roberto Beraldi P2PFaaS: A framework for FaaS peer-to-peer scheduling and load balancing in Fog and Edge computing SoftwareX Edge Computing Fog Computing FaaS |
title | P2PFaaS: A framework for FaaS peer-to-peer scheduling and load balancing in Fog and Edge computing |
title_full | P2PFaaS: A framework for FaaS peer-to-peer scheduling and load balancing in Fog and Edge computing |
title_fullStr | P2PFaaS: A framework for FaaS peer-to-peer scheduling and load balancing in Fog and Edge computing |
title_full_unstemmed | P2PFaaS: A framework for FaaS peer-to-peer scheduling and load balancing in Fog and Edge computing |
title_short | P2PFaaS: A framework for FaaS peer-to-peer scheduling and load balancing in Fog and Edge computing |
title_sort | p2pfaas a framework for faas peer to peer scheduling and load balancing in fog and edge computing |
topic | Edge Computing Fog Computing FaaS |
url | http://www.sciencedirect.com/science/article/pii/S2352711022002084 |
work_keys_str_mv | AT gabrieleproiettimattia p2pfaasaframeworkforfaaspeertopeerschedulingandloadbalancinginfogandedgecomputing AT robertoberaldi p2pfaasaframeworkforfaaspeertopeerschedulingandloadbalancinginfogandedgecomputing |