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.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥉 Bronze | Within its language | C · HTTP/1.1 | 3 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.
Every result
Alpha Round, 12 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 772,191 | 4.71ms | 21.40ms | 6434.4% | 1.2GiB |
| Connection | Pipelined | 4,096 | 2,268,731 | 23.66ms | 388.40ms | 6496.3% | 832MiB |
| Connection | Short-lived | 4,096 | 455,996 | 3.49ms | 22.70ms | 6567.3% | 728MiB |
| Efficiency | Latency-10K | 1,024 | 9,979 | 107.0us | 139.0us | 71.6% | 623MiB |
| Workload | Static TLS | 1,024 | 312,312 | 3.56ms | 707.64ms | 6299.5% | 708MiB |
| HTTP/2 | Baseline | 256 | 248,501 | 74.43ms | 181.39ms | 6519.6% | 4.2GiB |
| HTTP/2 | Baseline | 1,024 | 235,587 | 81.84ms | 1.01s | 6396.0% | 4.7GiB |
| HTTP/2 | Static | 256 | 150,555 | 53.79ms | 149.23ms | 6497.7% | 2.3GiB |
| HTTP/2 | Static | 1,024 | 140,084 | 129.97ms | 1.66s | 6572.3% | 4.6GiB |
| HTTP/2 | Baseline (h2c) | 256 | 275,797 | 68.99ms | 169.48ms | 6494.0% | 4.2GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 263,689 | 65.05ms | 385.77ms | 6351.8% | 4.6GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 222,388 | 77.41ms | 846.15ms | 6273.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.
| Entry | Composite | vs varnish | |
|---|---|---|---|
| nginx | 3717 | +312% | head to head |
| h2o | 3272 | +263% | head to head |
| Vinyl Cache | 626 | -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