HttpArena
Frameworks

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.

FamilyRankComposite
HTTP/1.160 of 711158

Every result

Alpha Round, 11 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096383,0901.20ms12.80ms6004.4%11.8GiB
ConnectionPipelined4,096582,91311.32ms142.70ms5890.9%13.1GiB
ConnectionShort-lived4,096114,6991.22ms4.63ms2255.0%4.6GiB
ConcurrencyAsync Delay32,000277,92744.82ms78.90ms4626.1%11.9GiB
EfficiencyLatency-10K1,0249,267175.9us274.0us186.7%1.5GiB
EfficiencyLatency-1M1,024446,0122801889.5us13021184.0us6126.3%12.3GiB
EfficiencyLatency-500K/81,02473,0265681602.3us14880768.0us765.3%5.2GiB
WorkloadJSON Comp4,096454725.62ms3.34s1075.0%2.1GiB
WorkloadJSON Comp16,384908367.60ms3.40s141.3%1.9GiB
WorkloadJSON TLS4,096207,6633.39ms61.65ms6015.9%11.3GiB
Workload8Gbit51241,178400.6us8380.0us1073.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