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

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.

Authors

Institutions

Publication Details

Journal
Concurrency and Computation Practice and Experience
Published
2026-08-25
DOI
https://doi.org/10.1002/cpe.70928
Primary Topic
Cloud Computing and Resource Management
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Aletéia Araújo, GERALDO PEREIRA ROCHA FILHO, Leonardo Rebouças de Carvalho
Concurrency and Computation Practice and Experience
Cloud Computing and Resource Management
article

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

Aletéia Araújo, GERALDO PEREIRA ROCHA FILHO, Leonardo Rebouças de Carvalho
article en

Abstract

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.

Concurrency and Computation Practice and ExperienceVol. 38(17)
Universidade do Estado da Bahia (BR), Universidade de Brasília (BR), Southwest Bahia State University (BR), University Center of Brasília (BR)
Coordenação de Aperfeiçoamento de Pessoal de Nível Superior, Conselho Nacional de Desenvolvimento Científico e Tecnológico
Industry, innovation and infrastructure
Openalex Percentile: Top 4%
Cloud Computing and Resource Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.