HttpArena

Proa

Emerging · Rust · engine: hyper · tuned configuration · completeness 4/4

Compiled Proa HTML components served over thread-per-core Axum/Hyper workers with mimalloc v2, sonic-rs JSON serialization, thread-local libdeflater gzip compression, TLS 1.3 (AES-128-GCM via aws-lc-rs) for HTTP/1.1 (:8081), HTTP/2 (:8443), h2c (:8082), HTTP/3/QUIC via quinn+h3 (:8443/udp), gRPC, batched WebSocket echo, and per-worker deadpool-postgres pools.

Achievements

🥇 13 Gold · 🥈 7 Silver · 🥉 4 Bronze. 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
🥇 GoldFamily compositeComposite · Database1 of 22
🥇 GoldFamily compositeComposite · HTTP/31 of 21
🥇 GoldFamily compositeComposite · WebSocket1 of 41
🥇 GoldWithin its languageRust · Database1 of 4
🥇 GoldWithin its languageRust · HTTP/31 of 4
🥇 GoldWithin its languageRust · WebSocket1 of 9
🥇 GoldTest profileDatabase · Async DB1 of 22
🥇 GoldTest profileDatabase · Fortunes1 of 11
🥇 GoldTest profileEfficiency · Latency-1M1 of 113
🥇 GoldTest profileHTTP/3 · Baseline1 of 21
🥇 GoldTest profileHTTP/3 · Static1 of 21
🥇 GoldTest profileWebSocket · Echo1 of 41
🥇 GoldTest profileWebSocket · Echo Pipelined1 of 37
🥈 SilverFamily compositeComposite · gRPC2 of 15
🥈 SilverWithin its languageRust · HTTP/1.12 of 12
🥈 SilverWithin its languageRust · HTTP/22 of 9
🥈 SilverWithin its languageRust · gRPC2 of 6
🥈 SilverTest profileWebSocket · Echo Short-lived2 of 28
🥈 SilverTest profileWorkload · JSON Comp2 of 108
🥈 SilverTest profilegRPC · Unary2 of 15
🥉 BronzeFamily compositeComposite · HTTP/1.13 of 113
🥉 BronzeFamily compositeComposite · HTTP/23 of 44
🥉 BronzeTest profileWorkload · JSON TLS3 of 109
🥉 BronzeTest profilegRPC · Unary TLS3 of 15

Composite rank

Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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.13 of 1136345
HTTP/23 of 442735
HTTP/31 of 212000
gRPC2 of 151804
WebSocket1 of 412995
Database1 of 222000

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,114,4321.31ms2.48ms6627.7%224MiB
ConnectionPipelined4,09617,497,5683.75ms6.54ms6258.2%207MiB
ConnectionShort-lived4,0962,464,1291.64ms4.87ms6066.4%260MiB
ConcurrencyAsync Delay32,0002,314,81013.82ms17.00ms5029.1%749MiB
ConcurrencyCON-1M1,000,000249,99973.1us134.0us785.1%20.5GiB
ConcurrencyCON-1M-TLS1,000,000249,96870.0us112.0us1448.9%28.1GiB
EfficiencyLatency-10K1,0249,97978.3us103.0us23.6%152MiB
EfficiencyLatency-1M1,024998,51796.7us181.0us2619.0%148MiB
WorkloadJSON Comp4,096812,1195.05ms11.10ms6259.4%274MiB
WorkloadJSON Comp16,384779,94920.99ms30.90ms6672.0%612MiB
WorkloadJSON TLS4,0961,580,0242.55ms56.24ms6316.8%351MiB
Workload8Gbit51249,08492.9us118.0us204.8%178MiB
DatabaseAsync DB1,024354,3542.89ms18.10ms3036.8%226MiB
DatabaseFortunes1,024222,9694.59ms6.94ms3286.2%239MiB
HTTP/2Baseline2569,584,1832.55ms7.11ms6002.4%356MiB
HTTP/2Baseline1,0248,355,35511.84ms21.63ms6304.2%595MiB
HTTP/2Static256758,50611.43ms25.03ms6223.8%499MiB
HTTP/2Static1,024678,55347.10ms90.04ms6259.7%895MiB
HTTP/2Baseline (h2c)2569,903,0612.42ms5.38ms6030.2%383MiB
HTTP/2Baseline (h2c)1,0248,699,98012.07ms36.30ms6116.4%594MiB
HTTP/2Baseline (h2c)4,0967,538,33353.43ms80.79ms6188.5%1.6GiB
HTTP/2JSON (h2c)1,0242,257,87114.12ms27.11ms6473.8%458MiB
HTTP/2JSON (h2c)4,0962,070,14361.82ms126.75ms6156.2%1.1GiB
HTTP/3Baseline645,231,188798us1.37ms3365.9%246MiB
HTTP/3Static64617,2808.31ms44.76ms4204.8%690MiB
gRPCUnary2566,414,6523.16ms6.62ms5046.4%430MiB
gRPCUnary1,0246,456,9428.68ms20.60ms5349.0%779MiB
gRPCUnary TLS2566,285,7343.22ms6.72ms5063.1%437MiB
gRPCUnary TLS1,0246,034,01115.61ms37.65ms6241.8%712MiB
WebSocketEcho5124,252,156119us261us6226.9%171MiB
WebSocketEcho4,0964,354,138940us1.24ms5977.3%295MiB
WebSocketEcho16,3844,104,8853.99ms4.55ms5958.7%742MiB
WebSocketEcho Pipelined51265,358,985124us259us6259.8%168MiB
WebSocketEcho Pipelined4,09667,055,366976us1.35ms6012.7%298MiB
WebSocketEcho Pipelined16,38461,820,1154.24ms5.01ms6101.9%737MiB
WebSocketEcho Short-lived5122,382,511178us583us5387.4%257MiB
WebSocketEcho Short-lived4,0962,587,8001.33ms2.37ms5674.6%299MiB

Compared with

The Rust web frameworks around Proa on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

EntryCompositevs Proa
ntex6384+1%head to head
cpeak6152-3%head to head
actix5281-17%head to head

Compare Proa with any Rust entry · Compare Proa with any entry, in any language · Every Rust entry, ranked

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