HttpArena
Frameworks

plug-cowboy

Flagship · Elixir · engine: Cowboy · standard configuration · completeness 4/4

Plug on the Cowboy adapter without Phoenix. Routing through Plug.Router, Jason JSON encoding, gzip through the cowboy_compress_h stream handler.

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.155 of 711339

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,096210,07316.54ms25.70ms5466.9%886MiB
ConnectionPipelined4,096470,931118.77ms395.00ms6202.3%769MiB
ConnectionShort-lived4,096192,48718.50ms29.10ms5891.2%968MiB
ConcurrencyAsync Delay32,000187,641115.71ms167.90ms4970.9%3.1GiB
EfficiencyLatency-10K1,0249,978174.2us319.0us211.3%344MiB
EfficiencyLatency-1M1,024232,3647643678.7us15151104.0us5427.9%444MiB
EfficiencyLatency-500K/81,02456,1018852378.3us17539072.0us769.7%361MiB
WorkloadJSON Comp4,096100,87718.51ms269.00ms6375.9%746MiB
WorkloadJSON Comp16,384103,45018.40ms255.80ms6175.0%779MiB
WorkloadJSON TLS4,096153,5918.86ms57.92ms5047.8%961MiB
Workload8Gbit51248,918303.3us529.0us2253.0%592MiB

Compared with

The Elixir entries around plug-cowboy on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs plug-cowboy
phoenix-bandit1792+34%head to head

Compare plug-cowboy with any Elixir entry · Compare plug-cowboy with any entry, in any language · Every Elixir entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry