Benchmarking Traditional Web Servers and Container-Based Serverless Platforms for a Django E-Commerce System

Authors

  • Chapk Rzgar Mohamad Department of Computer, College of Science, University of Sulaimani, Sulaymaniyah, Kurdistan Region, Iraq
  • Kamaran Hama Ali Faraj Department of Computer, College of Science, University of Sulaimani, Sulaymaniyah, Kurdistan Region, Iraq, Department of Computer Engineering, College of Engineering and Computer Science, Lebanese French University, Erbil, Kurdistan Region, Iraq

DOI:

https://doi.org/10.21928/uhdjst.v10n1y2026.pp101-115

Keywords:

Django E-Commerce, Web-Server Benchmarking, Container-based serverless, Tail Latency, Non-Parametric Benchmarking, Topology-Aware Benchmarking, Elasticity

Abstract

We benchmark a Django 5.2 e-commerce application (Python 3.11, SQLite3 as a controlled database constant) on four hosting configurations – Apache 2.4 on Ubuntu 22.04 via WSL2, Nginx 1.27.2 on Windows 11, Azure Container Apps (ACA), and Koyeb – under five load profiles (C = 10–10,000; n = 500–50,000 requests). Sixteen harmonized performance metrics were evaluated, covering mean and tail latency, throughput, error rate, resource utilization, energy-per-request proxy, security timing, and four cloud elasticity metrics. Under the local loopback topology, Apache achieved lower client-observed latency and higher throughput; Nginx exhibited zero errors and tighter tail spread across all load levels. In the cloud topology, Koyeb outperformed ACA in steady-state performance and scaling responsiveness; ACA provided faster cold-start activation. Non-parametric statistical tests (Mann–Whitney U and Kruskal–Wallis with Bonferroni-corrected post hoc comparisons), together with effect-size analysis (Cliff’s δ and Cohen’s d), support the main conclusions of the study. Statistically significant differences are observed for most load levels, whereas intermediate concurrency levels show non-significant differences between ACA and Koyeb. We also introduce the deployment topology-aware benchmarking model, which decomposes client-observed end-to-end latency into topology-dependent and topology-independent components; the associated topology contribution ratio (TCR) – ranging from TCR ≈ 0 for local loopback to TCR ≈ 0.37 for ACA at C = 10 – enables principled cross-environment comparison without conflating network-path effects with platform processing performance.

Author Biography

Chapk Rzgar Mohamad, Department of Computer, College of Science, University of Sulaimani, Sulaymaniyah, Kurdistan Region, Iraq

MSc Student, Department of Computer Science, College of Science, University of Sulaimani, Iraq.

 

References

M. Basalla, J. Schneider, M. Luksik, R. Jaakonmäki and J. Vom Brocke. “On latency of e-commerce platforms”. Journal of Organizational Computing and Electronic Commerce, vol. 31, no. 1, pp. 1-17, 2021.

Z. Li, L. Pons, S. Petit, J. Sahuquillo and J. Pons. “TailBench++: Flexible Multi-Client, Multi-Server Benchmarking for Latency- Critical Workloads”. [arXiv Preprint]; 2025.

J. Dean and L. A. Barroso. “The tail at scale”. Communications of the ACM, vol. 56, no. 2, pp. 74-80, 2013.

W. Wicoksono, H. A. Mustaqhim, P. P. Anwas and L. N. L. Badratul. “Performance comparison of NGINX, apache, and lighttpd using WRK on a debian”. bit-Tech, vol. 8, no. 1, pp. 670-680, 2025.

J. Yang and A. Abraham. “Analyzing the features, usability, and performance of deploying a containerized mobile web application on serverless cloud platforms”. Future Internet, vol. 16, no. 12, p. 475, 2024.

V. Besozzi, M. Della Bartola, P. Dazzi and M. Danelutto. “High-performance serverless computing: A systematic literature review on serverless for HPC, AI, and big data”. IEEE Access, vol. 13, pp. 195611-195656, 2025.

T. Schirmer, N. Japke, S. Greten, T. Pfandzelter and D. Bermbach. “The Night Shift: Understanding Performance Variability of Cloud Serverless Platforms”. In: Proceedings of the 1st Workshop on Serverless Systems, Applications and Methodologies, pp. 27-33, 2023.

M. Golec, G. K. Walia, M. Kumar, F. Cuadrado, S. S. Gill and S. Uhlig. “Cold start latency in serverless computing: A systematic review, taxonomy, and future directions”. ACM Computing Surveys, vol. 57, no. 3, pp. 1-36, 2024.

A. Farhadian, M. Bastam, E. Ataei and M. Babagoli. “Performance evaluation of apache and nginx web servers on docker, podman, and LXC containers”. Nashriyyah-i Muhandisi-i Barq va Muhandisi-i Kampyutar-i Iran, vol. 120, no. 2, p. 79, 2025.

M. Copik, G. Kwasniewski, M. Besta, M. Podstawski and T. Hoefler. “Sebs: A Serverless Benchmark Suite for Function-as-a-Service Computing. In: Proceedings of the 22nd International Middleware Conference, pp. 64-78, 2021.

T. Yu, Q. Liu, D. Du, Y. Xia, B. Zang, Z. Lu, P. Yang, C. Qin, and H. Chen. “Characterizing Serverless Platforms with Serverlessbench”. In: Proceedings of the 11th ACM Symposium on Cloud Computing, pp. 30-44, 2020.

P. Melo, G. J. Da Silva, A. B. Vanderlei, D. Beserra and J. Araujo, “Performance Evaluation of Containerized Virtualization Platforms,” SN Computer Science, vol. 6, no. 7, p. 771, 2025.

S. Werner, M. C. Borges, K. Wolf and S. Tai. “A comprehensive experimentation framework for energy-efficient design of cloud-native applications”. In: 2025 IEEE 22nd International Conference on Software Architecture (ICSA). IEEE, United States, pp. 176- 186, 2025.

J. Legler, S. Werner, M. C. Borges and S. Tai. “Service-level energy modeling and experimentation for cloud-native microservices”. In: International Conference on Service-Oriented Computing. Springer, Berlin, pp. 230-247, 2025.

M. Ghattas, S. Odeh and A. M. Mora. “Predicting website performance: A systematic review of metrics, methods, and research gaps (2010-2024)”. Computers, vol. 14, no. 10, p. 446, 2025.

D. Kunda, S. Chihana and M. Sinyinda. “Web server performance of apache and nginx: A systematic literature review”. Computer Engineering and Intelligent Systems, vol. 8, pp. 43-52, 2017.

J. Scheuner, R. Deng, J. P. Steghöfer and P. Leitner. “Crossfit: Fine-grained benchmarking of serverless application performance across cloud providers”. In: 2022 IEEE/ACM 15th International Conference on Utility and Cloud Computing (UCC). IEEE, United States, pp. 51-60, 2022.

M. A. Pratama, O. Nurdiawan, A. R. Dikananda, D. Pratama and D. A. Kurnia. “Comparative analysis of serverless container service performance between google cloud run and AWS app runner in cross-cloud architecture”. Journal of Artificial Intelligence and Engineering Applications (JAIEA), vol. 5, no. 2, pp. 2531-2539, 2026.

S. Henning and W. Hasselbring. “Benchmarking scalability of stream processing frameworks deployed as microservices in the cloud”. Journal of Systems and Software, vol. 208, p. 111879, 2024.

S. Henning, A. Vogel, E. Perez-Wohlfeil, O. Ertl and R. Rabiser. “When Should I Run my Application Benchmark? Studying Cloud Performance Variability for the Case of Stream Processing Applications”. In: Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering, pp. 400-410, 2025.

H. Kasture and D. Sanchez. “Tailbench: A benchmark suite and evaluation methodology for latency-critical applications”. In: 2016 IEEE International Symposium on Workload Characterization (IISWC). IEEE, United States, pp. 1-10, 2016.

D. Kliazovich, P. Bouvry and S. U. Khan. “GreenCloud: A packet-level simulator of energy-aware cloud computing data centers”. The Journal of Supercomputing, vol. 62, no. 3, pp. 1263-1283, 2012.

F. Palumbo, G. Aceto, A. Botta, D. Ciuonzo, V. Persico and A. Pescapé. “Characterization and analysis of cloud-to-user latency: The case of Azure and AWS”. Computer Networks, vol. 184, p. 107693, 2021.

D. Purohith, J. Mohan and V. Chidambaram. “The Dangers and Complexities of Sqlite Benchmarking.” In: Proceedings of the 8th Asia-Pacific Workshop on Systems, pp. 1-6, 2017.

Z. Li, M. Kihl, Q. Lu and J. A. Andersson. “Performance Overhead Comparison between Hypervisor and Container Based Virtualization”. In: 2017 IEEE 31st International Conference on advanced information networking and applications (AINA). IEEE, pp. 955-962, 2017.

M. Larabel. “Ubuntu 24.04 via WSL2 on Windows 11 25H2 Performance Benchmarks.” Phoronix. Available from: https://www. phoronix.com/review/wsl2-windows11-25h2 [Last accessed on 2026 Jan 15].

R. Sime, N. Sezgin and F. Ağgün. “An integrated web security application: Integration of nginx reverse proxy, Fail2ban, Waf, postgresql and laravel”. Balkan Journal of Electrical and Computer Engineering, vol. 13, no. 1, pp. 106-111, 2025.

Microsoft. “Set Scaling Rules in Azure Container Apps (KEDA-Powered Scaling)”, 2026. Available from: https://learn.microsoft. com/en-us/azure/container-apps/scale-app [Last accessed on 2026 Jan 15].

Koyeb. “Scale-to-Zero”. Koyeb Documentation, 2025. Available from: https://www.koyeb.com/docs/run-and-scale/scale-to-zero [Last accessed on 2026 Jan 15].

Published

2026-04-26

How to Cite

Rzgar Mohamad, C., & Hama Ali Faraj, K. (2026). Benchmarking Traditional Web Servers and Container-Based Serverless Platforms for a Django E-Commerce System. UHD Journal of Science and Technology, 10(1), 101–115. https://doi.org/10.21928/uhdjst.v10n1y2026.pp101-115

Issue

Section

Articles