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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 55 of 71 | 1339 |
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 | 210,073 | 16.54ms | 25.70ms | 5466.9% | 886MiB |
| Connection | Pipelined | 4,096 | 470,931 | 118.77ms | 395.00ms | 6202.3% | 769MiB |
| Connection | Short-lived | 4,096 | 192,487 | 18.50ms | 29.10ms | 5891.2% | 968MiB |
| Concurrency | Async Delay | 32,000 | 187,641 | 115.71ms | 167.90ms | 4970.9% | 3.1GiB |
| Efficiency | Latency-10K | 1,024 | 9,978 | 174.2us | 319.0us | 211.3% | 344MiB |
| Efficiency | Latency-1M | 1,024 | 232,364 | 7643678.7us | 15151104.0us | 5427.9% | 444MiB |
| Efficiency | Latency-500K/8 | 1,024 | 56,101 | 8852378.3us | 17539072.0us | 769.7% | 361MiB |
| Workload | JSON Comp | 4,096 | 100,877 | 18.51ms | 269.00ms | 6375.9% | 746MiB |
| Workload | JSON Comp | 16,384 | 103,450 | 18.40ms | 255.80ms | 6175.0% | 779MiB |
| Workload | JSON TLS | 4,096 | 153,591 | 8.86ms | 57.92ms | 5047.8% | 961MiB |
| Workload | 8Gbit | 512 | 48,918 | 303.3us | 529.0us | 2253.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.
| Entry | Composite | vs plug-cowboy | |
|---|---|---|---|
| phoenix-bandit | 1792 | +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