http4s
Flagship · Scala · engine: Ember · standard configuration · completeness 4/4
http4s 0.23 on the Ember server with cats-effect, default configuration. Routing through the http4s DSL, circe JSON, gzip through the http4s GZip middleware.
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 | 60 of 71 | 1158 |
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 | 4,096 | 383,090 | 1.20ms | 12.80ms | 6004.4% | 11.8GiB |
| Connection | Pipelined | 4,096 | 582,913 | 11.32ms | 142.70ms | 5890.9% | 13.1GiB |
| Connection | Short-lived | 4,096 | 114,699 | 1.22ms | 4.63ms | 2255.0% | 4.6GiB |
| Concurrency | Async Delay | 32,000 | 277,927 | 44.82ms | 78.90ms | 4626.1% | 11.9GiB |
| Efficiency | Latency-10K | 1,024 | 9,267 | 175.9us | 274.0us | 186.7% | 1.5GiB |
| Efficiency | Latency-1M | 1,024 | 446,012 | 2801889.5us | 13021184.0us | 6126.3% | 12.3GiB |
| Efficiency | Latency-500K/8 | 1,024 | 73,026 | 5681602.3us | 14880768.0us | 765.3% | 5.2GiB |
| Workload | JSON Comp | 4,096 | 454 | 725.62ms | 3.34s | 1075.0% | 2.1GiB |
| Workload | JSON Comp | 16,384 | 908 | 367.60ms | 3.40s | 141.3% | 1.9GiB |
| Workload | JSON TLS | 4,096 | 207,663 | 3.39ms | 61.65ms | 6015.9% | 11.3GiB |
| Workload | 8Gbit | 512 | 41,178 | 400.6us | 8380.0us | 1073.5% | 6.2GiB |
Compare http4s with any entry, in any language · Every Scala entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry