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 | Test profile | Workload · Static TLS | 3 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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 6 of 6 | 439 |
| HTTP/2 | 4 of 5 | 110 |
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 | 199,035 | 17.27ms | 70.70ms | 6256.6% | 920MiB |
| Connection | Pipelined | 4,096 | 279,036 | 169.03ms | 704.30ms | 6411.5% | 830MiB |
| Connection | Short-lived | 4,096 | 183,208 | 9.82ms | 61.30ms | 6517.2% | 798MiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 100.1us | 140.0us | 74.7% | 656MiB |
| Workload | Static TLS | 1,024 | 308,685 | 3.64ms | 307.30ms | 6291.3% | 709MiB |
| HTTP/2 | Baseline | 256 | 217,317 | 86.67ms | 204.94ms | 6466.0% | 4.5GiB |
| HTTP/2 | Baseline | 1,024 | 202,194 | 93.26ms | 1.15s | 6508.8% | 4.9GiB |
| HTTP/2 | Static | 256 | 150,998 | 53.68ms | 558.74ms | 6566.5% | 2.4GiB |
| HTTP/2 | Static | 1,024 | 139,986 | 126.50ms | 1.72s | 6596.1% | 4.6GiB |
| HTTP/2 | Baseline (h2c) | 256 | 221,962 | 82.15ms | 202.27ms | 6405.4% | 4.5GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 213,225 | 87.39ms | 482.51ms | 6405.1% | 4.9GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 169,108 | 103.48ms | 950.36ms | 6318.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.
| Entry | Composite | vs varnish | |
|---|---|---|---|
| mongoose | 5902 | +1244% | head to head |
| h2o | 3712 | +746% | head to head |
| Vinyl Cache | 829 | +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