Cosmos: A Cost Model for Serverless Workflows in the 3D Compute Continuum

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Marcelino, Cynthia, Gollhofer-Berger, Sebastian, Pusztai, Thomas, Nastic, Stefan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912354375041024
author Marcelino, Cynthia
Gollhofer-Berger, Sebastian
Pusztai, Thomas
Nastic, Stefan
author_facet Marcelino, Cynthia
Gollhofer-Berger, Sebastian
Pusztai, Thomas
Nastic, Stefan
contents Due to the high scalability, infrastructure management, and pay-per-use pricing model, serverless computing has been adopted in a wide range of applications such as real-time data processing, IoT, and AI-related workflows. However, deploying serverless functions across dynamic and heterogeneous environments such as the 3D (Edge-Cloud-Space) Continuum introduces additional complexity. Each layer of the 3D Continuum shows different performance capabilities and costs according to workload characteristics. Cloud services alone often show significant differences in performance and pricing for similar functions, further complicating cost management. Additionally, serverless workflows consist of functions with diverse characteristics, requiring a granular understanding of performance and cost trade-offs across different infrastructure layers to be able to address them individually. In this paper, we present Cosmos, a cost- and a performance-cost-tradeoff model for serverless workflows that identifies key factors that affect cost changes across different workloads and cloud providers. We present a case study analyzing the main drivers that influence the costs of serverless workflows. We demonstrate how to classify the costs of serverless workflows in leading cloud providers AWS and GCP. Our results show that for data-intensive functions, data transfer and state management costs contribute to up to 75% of the costs in AWS and 52% in GCP. For compute-intensive functions such as AI inference, the cost results show that BaaS services are the largest cost driver, reaching up to 83% in AWS and 97% in GCP.
format Preprint
id arxiv_https___arxiv_org_abs_2504_20189
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Cosmos: A Cost Model for Serverless Workflows in the 3D Compute Continuum
Marcelino, Cynthia
Gollhofer-Berger, Sebastian
Pusztai, Thomas
Nastic, Stefan
Distributed, Parallel, and Cluster Computing
Due to the high scalability, infrastructure management, and pay-per-use pricing model, serverless computing has been adopted in a wide range of applications such as real-time data processing, IoT, and AI-related workflows. However, deploying serverless functions across dynamic and heterogeneous environments such as the 3D (Edge-Cloud-Space) Continuum introduces additional complexity. Each layer of the 3D Continuum shows different performance capabilities and costs according to workload characteristics. Cloud services alone often show significant differences in performance and pricing for similar functions, further complicating cost management. Additionally, serverless workflows consist of functions with diverse characteristics, requiring a granular understanding of performance and cost trade-offs across different infrastructure layers to be able to address them individually. In this paper, we present Cosmos, a cost- and a performance-cost-tradeoff model for serverless workflows that identifies key factors that affect cost changes across different workloads and cloud providers. We present a case study analyzing the main drivers that influence the costs of serverless workflows. We demonstrate how to classify the costs of serverless workflows in leading cloud providers AWS and GCP. Our results show that for data-intensive functions, data transfer and state management costs contribute to up to 75% of the costs in AWS and 52% in GCP. For compute-intensive functions such as AI inference, the cost results show that BaaS services are the largest cost driver, reaching up to 83% in AWS and 97% in GCP.
title Cosmos: A Cost Model for Serverless Workflows in the 3D Compute Continuum
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2504.20189