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

🥉 2 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
🥉 BronzeFamily compositeComposite · HTTP/23 of 4
🥉 BronzeTest profileHTTP/2 · Static3 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.15 of 5185
HTTP/23 of 4196

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096204,73215.45ms71.40ms6403.0%845MiB
ConnectionPipelined4,096283,650194.87ms458.80ms6509.3%1.3GiB
ConnectionShort-lived4,096189,5749.24ms57.80ms6523.0%785MiB
HTTP/2Baseline256213,80385.82ms245.62ms6478.3%4.5GiB
HTTP/2Baseline1,024206,18185.58ms1.05s6470.8%4.8GiB
HTTP/2Static256151,54553.37ms161.06ms6523.4%2.2GiB
HTTP/2Static1,024140,630126.80ms2.05s6525.2%4.7GiB

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
nginx4710+2443%head to head
libioma3819+1962%head to head
Vinyl Cache831+349%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