Cost Analysis of Running Web Application in Cloud Monolith, Microservice and Serverless Architecture

Cloud computing has become a popular choice for deploying web applications, but the selection of the appropriate architecture for different application types remains a challenge for businesses. In this study, we conducted performance and cost analyses of three architectures: Monolith, Microservice, and Serverless (specifically Lambda and Fargate) to provide businesses with valuable insights for decision-making. To ensure the relevance of our findings, we conducted tests on an application designed for static, database, and batch job services, deployed on AWS. Using JMeter, we simulated traffic with varying levels of high, medium, and low intensity, distributing 500 requests across six test scenarios. The results and subsequent analysis revealed that Lambda outperformed the other architectures significantly, while Fargate and Microservice architectures exhibited lower performance in comparison. However, cost played a crucial role in architecture selection. Fargate proved to be exceptionally expensive, with costs escalating further when batch jobs were involved. On the other hand, Lambda demonstrated lower overall costs compared to the other architectures, especially when batch jobs were running under low traffic conditions. However, the cost advantage diminished when running batch jobs in higher traffic scenarios, surpassing the expenses of Monolith and Microservice architectures. The findings highlight the superior performance of Lambda, but also emphasize the importance of considering costs and specific workload requirements when selecting an architecture. Lambda outperformed other architectures by reducing average response time by 25% and cost by 15% under low-traffic scenarios compared to Monolithic and Microservice architectures.

Authors

Institutions

Publication Details

Journal
Journal of Independent Studies and Research - Computing
Published
2024-12-19
DOI
https://doi.org/10.31645/jisrc.24.22.2.7
Citations
1
Primary Topic
Cloud Computing and Resource Management
Type
article
Field-Weighted Citation Impact
0.78
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cost Analysis of Running Web Application in Cloud Monolith, Microservice and Serverless Architecture

Syed Muhammad Khaliq-ur-Rahman Raazi, Muhammad Nadeem, Syed Mubashir Ali, S.N. Raza et al.
1 citations
Journal of Independent Studies and Research - Computing
Cloud Computing and Resource Management
0.78
article

Cost Analysis of Running Web Application in Cloud Monolith, Microservice and Serverless Architecture

Syed Muhammad Khaliq-ur-Rahman Raazi, Muhammad Nadeem, Syed Mubashir Ali, S.N. Raza, Bilal Mehboob
article en
1 citations

Abstract

Cloud computing has become a popular choice for deploying web applications, but the selection of the appropriate architecture for different application types remains a challenge for businesses. In this study, we conducted performance and cost analyses of three architectures: Monolith, Microservice, and Serverless (specifically Lambda and Fargate) to provide businesses with valuable insights for decision-making. To ensure the relevance of our findings, we conducted tests on an application designed for static, database, and batch job services, deployed on AWS. Using JMeter, we simulated traffic with varying levels of high, medium, and low intensity, distributing 500 requests across six test scenarios. The results and subsequent analysis revealed that Lambda outperformed the other architectures significantly, while Fargate and Microservice architectures exhibited lower performance in comparison. However, cost played a crucial role in architecture selection. Fargate proved to be exceptionally expensive, with costs escalating further when batch jobs were involved. On the other hand, Lambda demonstrated lower overall costs compared to the other architectures, especially when batch jobs were running under low traffic conditions. However, the cost advantage diminished when running batch jobs in higher traffic scenarios, surpassing the expenses of Monolith and Microservice architectures. The findings highlight the superior performance of Lambda, but also emphasize the importance of considering costs and specific workload requirements when selecting an architecture. Lambda outperformed other architectures by reducing average response time by 25% and cost by 15% under low-traffic scenarios compared to Monolithic and Microservice architectures.

Journal of Independent Studies and Research - ComputingVol. 22(2)
Mohammad Ali Jinnah University (PK), Superior University (PK), University of Kuala Lumpur (MY)
Industry, innovation and infrastructure
Openalex Percentile: Top 18%
Cloud Computing and Resource Management
0.78
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.