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
🥉 BronzeTest profileWorkload · Static TLS3 of 4

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.16 of 6439
HTTP/24 of 5110

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,096199,03517.27ms70.70ms6256.6%920MiB
ConnectionPipelined4,096279,036169.03ms704.30ms6411.5%830MiB
ConnectionShort-lived4,096183,2089.82ms61.30ms6517.2%798MiB
EfficiencyLatency-10K1,0249,983100.1us140.0us74.7%656MiB
WorkloadStatic TLS1,024308,6853.64ms307.30ms6291.3%709MiB
HTTP/2Baseline256217,31786.67ms204.94ms6466.0%4.5GiB
HTTP/2Baseline1,024202,19493.26ms1.15s6508.8%4.9GiB
HTTP/2Static256150,99853.68ms558.74ms6566.5%2.4GiB
HTTP/2Static1,024139,986126.50ms1.72s6596.1%4.6GiB
HTTP/2Baseline (h2c)256221,96282.15ms202.27ms6405.4%4.5GiB
HTTP/2Baseline (h2c)1,024213,22587.39ms482.51ms6405.1%4.9GiB
HTTP/2Baseline (h2c)4,096169,108103.48ms950.36ms6318.2%5.2GiB

Compared with

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

EntryCompositevs varnish
mongoose5902+1244%head to head
h2o3712+746%head to head
Vinyl Cache829+89%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