reitit
Flagship · Clojure · engine: jetty · standard configuration · completeness 4/4
Reitit 0.9 routing on Ring and the Jetty adapter, default configuration. Routes and path parameters through reitit.ring, query parsing through ring's wrap-params on the router, JSON through clojure.data.json, gzip through Jetty's GzipHandler, json-tls on 8081.
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 | 53 of 69 | 593 |
Every result
Alpha Round, 11 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 | 512 | 520,526 | 893us | 1.73ms | 3076.8% | 2.2GiB |
| Connection | Baseline | 4,096 | 606,264 | 3.93ms | 8.46ms | 3594.7% | 4.5GiB |
| Connection | Short-lived | 512 | 399,864 | 1.17ms | 2.70ms | 2886.2% | 4.1GiB |
| Connection | Short-lived | 4,096 | 400,618 | 4.97ms | 15.50ms | 2984.9% | 4.8GiB |
| Efficiency | Latency-1M | 1,024 | 533,149 | 4247493.9us | 9170944.0us | 3393.2% | 3.6GiB |
| Workload | JSON Comp | 512 | 40,723 | 11.51ms | 79.10ms | 4109.3% | 2.6GiB |
| Workload | JSON Comp | 4,096 | 38,570 | 52.93ms | 322.90ms | 4095.5% | 4.4GiB |
| Workload | JSON Comp | 16,384 | 38,224 | 121.51ms | 1.10s | 4233.3% | 4.1GiB |
| Workload | JSON TLS | 4,096 | 70,300 | 62.03ms | 174.09ms | 4321.2% | 3.7GiB |
| Workload | Upload | 32 | 2,520 | 12.67ms | 37.10ms | 2305.8% | 1.1GiB |
| Workload | Upload | 256 | 2,666 | 94.22ms | 471.20ms | 2720.2% | 1.2GiB |
Compared with
The Clojure entries around reitit on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs reitit | |
|---|---|---|---|
| aleph | 1979 | +234% | head to head |
| ring-jetty-adapter | 823 | +39% | head to head |
| ring-jetty9-adapter | 697 | +18% | head to head |
| pedestal | 356 | -40% | head to head |
| http-kit | 236 | -60% | head to head |
Compare reitit with any Clojure entry · Compare reitit with any entry, in any language · Every Clojure entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry