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 | 49 of 71 | 1778 |
Every result
Alpha Round, 10 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 | 606,264 | 3.93ms | 8.46ms | 3594.7% | 4.5GiB |
| Connection | Short-lived | 4,096 | 400,618 | 4.97ms | 15.50ms | 2984.9% | 4.8GiB |
| Concurrency | Async Delay | 32,000 | 4,079 | 1.02s | 5.00s | 140.2% | 982MiB |
| Efficiency | Latency-10K | 1,024 | 9,831 | 118.5us | 147.0us | 77.5% | 920MiB |
| Efficiency | Latency-1M | 1,024 | 533,149 | 4247493.9us | 9170944.0us | 3393.2% | 3.6GiB |
| Efficiency | Latency-500K/8 | 1,024 | 133,176 | 6558237.8us | 14290944.0us | 789.8% | 1.4GiB |
| 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 | 8Gbit | 512 | 47,243 | 159.8us | 297.0us | 531.7% | 1.3GiB |
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 | |
|---|---|---|---|
| ring-http-exchange | 3695 | +108% | head to head |
| ring-jetty-adapter | 2302 | +30% | head to head |
| ring-jetty9-adapter | 2104 | +18% | head to head |
| pedestal | 996 | -44% | head to head |
| http-kit | 992 | -44% | 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