TY - GEN
T1 - Exploring the Impact of Serverless Computing on Peer To Peer Training Machine Learning
AU - Barrak, Amine
AU - Trabelsi, Ranim
AU - Jaafar, Fehmi
AU - Petrillo, Fabio
N1 - Publisher Copyright:
© 2023 IEEE.
PY - 2023
Y1 - 2023
N2 - The increasing demand for computational power in big data and machine learning has driven the development of distributed training methodologies. Among these, peer-topeer (P2P) networks provide advantages such as enhanced scalability and fault tolerance. However, they also encounter challenges related to resource consumption, costs, and communication overhead as the number of participating peers grows. In this paper, we introduce a novel architecture that combines serverless computing with P2P networks for distributed training and present a method for efficient parallel gradient computation under resource constraints. Our findings show a significant enhancement in gradient computation time, with up to a 97.34% improvement compared to conventional P2P distributed training methods. As for costs, our examination confirmed that the serverless architecture could incur higher expenses, reaching up to 5.4 times more than instance-based architectures. It is essential to consider that these higher costs are associated with marked improvements in computation time, particularly under resource-constrained scenarios. Despite the cost-time trade-off, the serverless approach still holds promise due to its pay-as-you-go model. Utilizing dynamic resource allocation, it enables faster training times and optimized resource utilization, making it a promising candidate for a wide range of machine learning applications.
AB - The increasing demand for computational power in big data and machine learning has driven the development of distributed training methodologies. Among these, peer-topeer (P2P) networks provide advantages such as enhanced scalability and fault tolerance. However, they also encounter challenges related to resource consumption, costs, and communication overhead as the number of participating peers grows. In this paper, we introduce a novel architecture that combines serverless computing with P2P networks for distributed training and present a method for efficient parallel gradient computation under resource constraints. Our findings show a significant enhancement in gradient computation time, with up to a 97.34% improvement compared to conventional P2P distributed training methods. As for costs, our examination confirmed that the serverless architecture could incur higher expenses, reaching up to 5.4 times more than instance-based architectures. It is essential to consider that these higher costs are associated with marked improvements in computation time, particularly under resource-constrained scenarios. Despite the cost-time trade-off, the serverless approach still holds promise due to its pay-as-you-go model. Utilizing dynamic resource allocation, it enables faster training times and optimized resource utilization, making it a promising candidate for a wide range of machine learning applications.
KW - Distributed Training
KW - FaaS
KW - Function as a Service
KW - Machine Learning
KW - P2P
KW - Serverless
KW - peer-to-peer architecture
UR - https://www.scopus.com/pages/publications/85173251708
U2 - 10.1109/IC2E59103.2023.00024
DO - 10.1109/IC2E59103.2023.00024
M3 - Contribution to conference proceedings
AN - SCOPUS:85173251708
T3 - Proceedings - 2023 IEEE International Conference on Cloud Engineering, IC2E 2023
SP - 141
EP - 152
BT - Proceedings - 2023 IEEE International Conference on Cloud Engineering, IC2E 2023
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 11th IEEE International Conference on Cloud Engineering, IC2E 2023
Y2 - 25 September 2023 through 29 September 2023
ER -