Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
10.55041/IJSREM58536
Volume:
10 |
3 |
Mar 2026
Pages:
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.
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
Publication Date
3/29/2026
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
0
Total views since publication
PDF Downloads
9
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...