HTTP server & framework benchmarks

django benchmark results

django 6.1 is a python web framework. At concurrency 64 it serves 527 requests per second with a P50 latency of 37.30 ms, ranking 381 of 383 overall and 46 of 46 among python frameworks.

Throughput, latency & reliability

All measured metrics for django 6.1, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second5271 098846
P50 latency37.30 ms166.49 ms1778.63 ms
P75 latency57.78 ms373.75 ms2766.69 ms
P90 latency80.22 ms551.88 ms2856.68 ms
P99 latency135.94 ms698.55 ms5659.48 ms
P99.999 latency161.24 ms836.76 ms6229.85 ms
Average latency41.10 ms229.07 ms1964.00 ms
Minimum latency1.90 ms0.95 ms50.80 ms
Standard deviation28.87 ms196.35 ms1339.85 ms
Total requests7 91616 46812 698
Bytes received1.25 MB2.66 MB2.03 MB
HTTP errors000
Request timeouts0032
Socket connection errors17 19212 62115 439
Socket read errors000
Socket write errors000

Position in this benchmark

Position of django on requests per second.
ConcurrencyOverallAmong python frameworks
64381 of 38346 of 46
256377 of 38344 of 46
512378 of 38345 of 46

Badge for your README

Show the rank of django in your README. The image is updated together with the results.

web frameworks benchmark: #381 of 383

[![Web Frameworks Benchmark](https://web-frameworks-benchmark.vercel.app/frameworks/python/django/badge.svg)](https://web-frameworks-benchmark.vercel.app/frameworks/python/django/)

web frameworks benchmark: #46 of 46 in python

[![Web Frameworks Benchmark](https://web-frameworks-benchmark.vercel.app/frameworks/python/django/badge-language.svg)](https://web-frameworks-benchmark.vercel.app/frameworks/python/django/)

Explore python frameworks

Fastest python frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 peregrine-wsgi 1.1 191 025 0.30 ms 0.85 ms 0
2 weft-wsgi 0.1 153 346 0.41 ms 0.52 ms 0
3 fastpysgi-wsgi 0.6 147 137 0.46 ms 0.58 ms 0
4 peregrine-asgi 1.1 118 540 0.55 ms 0.68 ms 0
5 weft-asgi 0.1 118 218 0.53 ms 0.79 ms 0
6 oxapy 0.11 85 921 0.73 ms 1.34 ms 0
7 peregrine-blacksheep 2.6 74 401 0.95 ms 1.14 ms 0
8 emmett 2.7 47 667 1.27 ms 2.98 ms 0
9 asgineer 0.9 43 752 1.46 ms 2.09 ms 0
10 mq-bridge-py 0.2 41 435 1.63 ms 1.86 ms 0

All 46 python frameworks