From Source Code to Cost: A Multilingual, Cost-Aware Runtime Prediction Framework for Multi-Cloud FaaS

IF 2.2 4区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING
Leonardo Rebouças de Carvalho, Geraldo Pereira Rocha Filho, Aleteia Araujo
{"title":"From Source Code to Cost: A Multilingual, Cost-Aware Runtime Prediction Framework for Multi-Cloud FaaS","authors":"Leonardo Rebouças de Carvalho,&nbsp;Geraldo Pereira Rocha Filho,&nbsp;Aleteia Araujo","doi":"10.1002/cpe.70928","DOIUrl":null,"url":null,"abstract":"<p>Predicting the runtime and cost of Function-as-a-Service (FaaS) applications remains challenging in multi-cloud environments due to variations in code complexity, workload characteristics, and provider-specific behaviors. This paper presents an extended version of the Orama Framework that advances runtime prediction toward a multilingual and cost-aware approach. The framework incorporates a multilingual Halstead metric extractor for language-agnostic static analysis and enhances the predictor to estimate execution costs by combining runtime forecasts with cloud pricing models across AWS Lambda, Google Cloud Functions, Azure Functions, and Alibaba Function Compute. To assess robustness and generalization, the data set is expanded with a scientific workload based on genetic sequence alignment, introducing input-sensitive execution patterns. The extended data set integrates static code metrics, workload scale, infrastructure metadata, and empirical multi-cloud execution traces. Neural network models (Dense, LSTM, and BLSTM) are retrained and evaluated using standard regression metrics and cost estimation. Results indicate that the enhanced BLSTM model maintains high predictive precision across heterogeneous workloads and providers, while enabling cross-cloud cost estimation directly from source code. The extended framework provides a unified approach for performance and cost-aware prediction in serverless computing environments.</p>","PeriodicalId":55214,"journal":{"name":"Concurrency and Computation-Practice & Experience","volume":"38 17","pages":""},"PeriodicalIF":2.2000,"publicationDate":"2026-08-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/cpe.70928","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurrency and Computation-Practice & Experience","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70928","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Predicting the runtime and cost of Function-as-a-Service (FaaS) applications remains challenging in multi-cloud environments due to variations in code complexity, workload characteristics, and provider-specific behaviors. This paper presents an extended version of the Orama Framework that advances runtime prediction toward a multilingual and cost-aware approach. The framework incorporates a multilingual Halstead metric extractor for language-agnostic static analysis and enhances the predictor to estimate execution costs by combining runtime forecasts with cloud pricing models across AWS Lambda, Google Cloud Functions, Azure Functions, and Alibaba Function Compute. To assess robustness and generalization, the data set is expanded with a scientific workload based on genetic sequence alignment, introducing input-sensitive execution patterns. The extended data set integrates static code metrics, workload scale, infrastructure metadata, and empirical multi-cloud execution traces. Neural network models (Dense, LSTM, and BLSTM) are retrained and evaluated using standard regression metrics and cost estimation. Results indicate that the enhanced BLSTM model maintains high predictive precision across heterogeneous workloads and providers, while enabling cross-cloud cost estimation directly from source code. The extended framework provides a unified approach for performance and cost-aware prediction in serverless computing environments.

从源代码到成本:用于多云FaaS的多语言、成本感知运行时预测框架
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Concurrency and Computation-Practice & Experience
Concurrency and Computation-Practice & Experience 工程技术-计算机:理论方法
CiteScore
5.00
自引率
10.00%
发文量
664
审稿时长
9.6 months
期刊介绍: Concurrency and Computation: Practice and Experience (CCPE) publishes high-quality, original research papers, and authoritative research review papers, in the overlapping fields of: Parallel and distributed computing; High-performance computing; Computational and data science; Artificial intelligence and machine learning; Big data applications, algorithms, and systems; Network science; Ontologies and semantics; Security and privacy; Cloud/edge/fog computing; Green computing; and Quantum computing.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书