HttpArena
Frameworks

aiohttp

Flagship · Python · standard configuration · completeness 4/4

aiohttp 3.14 web server on uvloop, one forked worker per core sharing the port with SO_REUSEPORT. Routing through the aiohttp router, JSON through web.json_response, gzip through the built-in response compression.

Achievements

🥈 1 Silver. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥈 SilverWithin its languagePython · HTTP/1.12 of 9

Composite rank

Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.139 of 712072

Every result

Alpha Round, 13 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096590,6546.94ms13.00ms6254.9%573MiB
ConnectionPipelined4,0961,071,73160.92ms114.60ms6395.3%625MiB
ConnectionShort-lived4,096506,6088.02ms129.90ms6541.3%555MiB
ConcurrencyAsync Delay32,000538,78558.80ms69.00ms6180.0%1.0GiB
EfficiencyLatency-10K1,0249,982178.3us287.0us121.9%536MiB
EfficiencyLatency-1M1,024645,0223010947.4us10342400.0us6485.8%538MiB
EfficiencyLatency-500K/81,024102,9717898055.2us15839232.0us764.0%138MiB
WorkloadJSON Comp4,096101,89939.92ms249.60ms6348.5%1.7GiB
WorkloadJSON Comp16,38499,450128.53ms2.77s6049.5%2.3GiB
WorkloadJSON TLS4,096240,40816.77ms103.00ms6284.3%860MiB
Workload8Gbit51249,381219.7us434.0us770.4%625MiB
WorkloadStatic TLS1,02482,56312.35ms47.21ms6253.8%896MiB
DatabaseAsync DB1,024102,1199.54ms52.20ms6127.2%668MiB

Compared with

The Python entries around aiohttp on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs aiohttp
fastpysgi-wsgi3148+52%head to head
pyronova2404+16%head to head
mq-bridge-py2219+7%head to head
blackbull1658-20%head to head
sanic1630-21%head to head

Compare aiohttp with any Python entry · Compare aiohttp with any entry, in any language · Every Python entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry