EUVIMEDEUVIMED entdecken
Crossref

A Comparative Analysis of Fastapi and Django Frameworks: Evaluating Performance, Scalability, And Concurrency Efficiency in Modern Web Applications

Ruchi Ruchi, Sunanda Saroj, Himadri Joshi, Dr. Yogita Thareja

INTERNATIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT · 29.03.2026 · 10 (03) · 1-9

DOI: 10.55041/ijsrem58536 ↗

Kurz gefasst

Fachartikel in der Zeitschrift INTERNATIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT, online erschienen am 29.03.2026. Verfasst von Ruchi Ruchi und 3 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Modern web architectures demand backend frameworks capable of sustaining high concurrency with minimal latency degradation. Among Python-based solutions, FastAPI and Django represent two philosophically distinct paradigms: asynchronous, API-first design versus synchronous, full-stack development. While both are widely deployed in production environments, limited rigorous quantitative comparisons under controlled multi-variable load conditions exist in recent literature. This study presents a systematic performance benchmarking analysis of FastAPI and Django, deploying identical REST API endpoints under controlled conditions using the Locust load-testing framework. Experiments were conducted across three concurrency levels (10, 50, and 100 simulated users) and two worker configurations (1 and 4 workers), capturing throughput (requests/sec), mean and median response latency, 95th percentile latency, and failure rate. Additionally, the impact of ASGI versus WSGI deployment on Django's performance was independently evaluated. Results demonstrate that FastAPI consistently achieves throughput exceeding that of Django by approximately 60-95%, with significantly lower 95th percentile latency under high-load conditions. Under 100 concurrent users with a single worker, Django's WSGI configuration exhibited a 4.88% error rate and a 95th percentile latency of 7,200 ms, compared to zero errors and 780 ms for FastAPI. Worker scaling provided substantial gains for Django — reducing average latency by approximately 70% at peak load — while FastAPI maintained consistently low error rates across all configurations. These findings offer quantitative guidance for framework selection decisions in performance-sensitive system design. Keywords: FastAPI, Django, Performance Benchmarking, Scalability, Concurrency, Load Testing

Zitieren

APA

Ruchi, R., Saroj, S., Joshi, H., & Thareja, D. Y. (2026). A Comparative Analysis of Fastapi and Django Frameworks: Evaluating Performance, Scalability, And Concurrency Efficiency in Modern Web Applications. INTERNATIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT, 10(03), 1-9. https://doi.org/10.55041/ijsrem58536

Vancouver

Ruchi R, Saroj S, Joshi H, Thareja DY. A Comparative Analysis of Fastapi and Django Frameworks: Evaluating Performance, Scalability, And Concurrency Efficiency in Modern Web Applications. INTERNATIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT. 2026;10(03):1-9. doi:10.55041/ijsrem58536

BibTeX
@article{Ruchi2026,
  author = {Ruchi, Ruchi and Saroj, Sunanda and Joshi, Himadri and Thareja, Dr. Yogita},
  title = {A Comparative Analysis of Fastapi and Django Frameworks: Evaluating Performance, Scalability, And Concurrency Efficiency in Modern Web Applications},
  journal = {INTERNATIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT},
  year = {2026},
  volume = {10},
  number = {03},
  pages = {1--9},
  doi = {10.55041/ijsrem58536}
}
Kostenlos starten →