HttpArena
Frameworks

mq-bridge

Emerging · Rust · standard configuration

mq-bridge async message-bridging library run as an HTTP server. A single catch-all http->response route dispatches on request metadata and replies through mq-bridge's inline-response fast path; hyper-util's auto connection builder serves HTTP/1.1 and HTTP/2 prior-knowledge (h2c) on the cleartext port (8080) and HTTP/2-over-TLS (ALPN h2) on 8443. Postgres via sqlx for async-db, dataset read from /data/dataset.json, static assets from /data/static, gzip negotiated by the library's Accept-Encoding-gated response compression.

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. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.19 of 71562
HTTP/27 of 1678
WebSocket15 of 2037

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline5121,078,632474us1.34ms3984.0%98MiB
ConnectionBaseline4,0961,176,2233.48ms6.85ms4448.1%181MiB
ConnectionPipelined5124,931,0491.66ms3.70ms6226.0%50MiB
ConnectionPipelined4,0964,998,40313.09ms46.70ms6501.1%168MiB
ConnectionShort-lived512716,090706us1.87ms4500.2%81MiB
ConnectionShort-lived4,096713,9525.73ms24.10ms5350.7%258MiB
WorkloadJSON4,096891,3964.26ms18.80ms5883.7%264MiB
WorkloadJSON Comp51278,9286.49ms16.60ms5866.3%78MiB
WorkloadJSON Comp4,096407,54310.03ms36.70ms6041.0%237MiB
WorkloadJSON Comp16,384384,51142.13ms149.30ms5992.7%732MiB
WorkloadJSON TLS4,096942,0484.51ms64.56ms5595.1%246MiB
WorkloadUpload321,40422.76ms81.10ms2924.9%1.6GiB
WorkloadUpload2561,471167.77ms1.03s4773.8%4.8GiB
WorkloadStatic1,024495,3312.07ms9.30ms6587.3%237MiB
WorkloadStatic4,096484,9378.87ms44.81ms6592.2%805MiB
WorkloadStatic6,800489,59915.07ms102.36ms6476.6%1.3GiB
WorkloadStatic TLS1,024415,1052.47ms45.47ms6547.0%255MiB
WorkloadStatic TLS4,096407,86610.35ms82.33ms6436.1%800MiB
WorkloadStatic TLS6,800404,02117.70ms178.58ms6523.1%1.3GiB
DatabaseAsync DB1,024114,7468.36ms11.20ms4705.5%132MiB
Multi-endpointAPI-425629,5387.33ms24.70ms394.2%46MiB
Multi-endpointAPI-161,02491,4549.51ms36.20ms1482.6%102MiB
HTTP/2Baseline256542,86046.38ms208.61ms4250.3%293MiB
HTTP/2Baseline1,024514,296184.38ms600.98ms4417.1%789MiB
HTTP/2Static256340,39323.50ms158.80ms5654.5%149MiB
HTTP/2Static1,024246,138126.28ms430.54ms3659.5%351MiB
HTTP/2Baseline (h2c)256564,79344.45ms169.29ms4389.1%261MiB
HTTP/2Baseline (h2c)1,024500,237196.13ms663.00ms4422.9%830MiB
HTTP/2Baseline (h2c)4,096450,670743.95ms3.24s4569.9%2.5GiB
HTTP/2JSON (h2c)1,024511,49761.75ms194.77ms3241.8%377MiB
HTTP/2JSON (h2c)4,096469,575255.40ms1.10s3159.7%1.1GiB
WebSocketEcho5121,172,794436us1.05ms1824.5%45MiB
WebSocketEcho4,0961,362,5403.00ms4.62ms2209.3%155MiB
WebSocketEcho16,3841,098,01614.70ms16.60ms2010.1%450MiB
WebSocketEcho Pipelined5125,265,1461.55ms4.00ms6263.6%41MiB
WebSocketEcho Pipelined4,0965,655,07411.56ms36.90ms6446.2%156MiB
WebSocketEcho Pipelined16,3845,559,65345.83ms84.40ms6667.1%460MiB

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