HttpArena
Frameworks

varnish

Infrastructure · C · engine: varnishd

Varnish Cache HTTP accelerator with native TLS/H2 termination (-A). A custom vmod (Rust, varnish-rs) computes /baseline11 and /baseline2 in-process; vmod-fileserver serves /static.

Achievements

🥉 1 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
🥉 BronzeWithin its languageC · HTTP/1.13 of 4

Composite rank

Each profile of a family is worth 1,000 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.15 of 8901
HTTP/25 of 7112

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096772,1914.71ms21.40ms6434.4%1.2GiB
ConnectionPipelined4,0962,268,73123.66ms388.40ms6496.3%832MiB
ConnectionShort-lived4,096455,9963.49ms22.70ms6567.3%728MiB
EfficiencyLatency-10K1,0249,979107.0us139.0us71.6%623MiB
WorkloadStatic TLS1,024312,3123.56ms707.64ms6299.5%708MiB
HTTP/2Baseline256248,50174.43ms181.39ms6519.6%4.2GiB
HTTP/2Baseline1,024235,58781.84ms1.01s6396.0%4.7GiB
HTTP/2Static256150,55553.79ms149.23ms6497.7%2.3GiB
HTTP/2Static1,024140,084129.97ms1.66s6572.3%4.6GiB
HTTP/2Baseline (h2c)256275,79768.99ms169.48ms6494.0%4.2GiB
HTTP/2Baseline (h2c)1,024263,68965.05ms385.77ms6351.8%4.6GiB
HTTP/2Baseline (h2c)4,096222,38877.41ms846.15ms6273.2%5.0GiB

Compared with

The C reverse proxies and static-file servers around varnish 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 varnish
nginx3717+312%head to head
h2o3272+263%head to head
Vinyl Cache626-31%head to head

Compare varnish with any C entry · Compare varnish with any entry, in any language · Every C entry, ranked

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