phoenix-bandit
Flagship · Elixir · engine: bandit · standard configuration
High-performance Elixir framework using Phoenix and Bandit HTTP server, leveraging Erlang/OTP for concurrent networking and asynchronous database operations.
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. 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 | 33 of 71 | 246 |
| HTTP/2 | 16 of 16 | 7 |
| WebSocket | 16 of 20 | 33 |
Every result
Alpha Round, 29 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 | 512 | 506,101 | 1.01ms | 1.83ms | 6428.9% | 374MiB |
| Connection | Baseline | 4,096 | 486,848 | 7.32ms | 10.70ms | 6431.4% | 478MiB |
| Connection | Pipelined | 512 | 650,903 | 12.61ms | 30.50ms | 6457.7% | 357MiB |
| Connection | Pipelined | 4,096 | 632,232 | 90.28ms | 175.10ms | 6576.3% | 512MiB |
| Connection | Short-lived | 512 | 400,726 | 1.27ms | 11.40ms | 6274.7% | 421MiB |
| Connection | Short-lived | 4,096 | 400,254 | 3.37ms | 27.30ms | 6223.4% | 431MiB |
| Workload | JSON | 4,096 | 196,508 | 13.97ms | 153.70ms | 6281.5% | 1020MiB |
| Workload | JSON Comp | 512 | 113,416 | 4.52ms | 15.80ms | 6303.8% | 758MiB |
| Workload | JSON Comp | 4,096 | 93,061 | 36.51ms | 336.30ms | 6287.0% | 1.8GiB |
| Workload | JSON Comp | 16,384 | 93,569 | 38.15ms | 346.30ms | 6078.6% | 1.7GiB |
| Workload | Upload | 32 | 2,141 | 14.92ms | 41.40ms | 2057.8% | 362MiB |
| Workload | Upload | 256 | 2,807 | 85.98ms | 345.70ms | 5599.6% | 766MiB |
| Workload | Static | 1,024 | 26,886 | 38.92ms | 331.03ms | 1180.2% | 406MiB |
| Workload | Static | 4,096 | 25,840 | 180.24ms | 2.00s | 1210.0% | 574MiB |
| Workload | Static | 6,800 | 25,539 | 211.21ms | 2.00s | 1206.4% | 615MiB |
| Database | Async DB | 1,024 | 9,627 | 106.08ms | 129.30ms | 1042.8% | 534MiB |
| Database | CRUD | 4,096 | 339,362 | 11.22ms | 120.40ms | 5555.4% | 722MiB |
| Multi-endpoint | API-4 | 256 | 10,416 | 24.53ms | 67.20ms | 399.3% | 345MiB |
| Multi-endpoint | API-16 | 1,024 | 40,081 | 24.20ms | 224.60ms | 1573.7% | 731MiB |
| HTTP/2 | Baseline | 256 | 214,310 | 115.86ms | 200.12ms | 6448.9% | 824MiB |
| HTTP/2 | Baseline | 1,024 | 203,145 | 402.37ms | 802.97ms | 6417.6% | 1.6GiB |
| HTTP/2 | Static | 256 | 24,449 | 316.56ms | 646.84ms | 1462.2% | 811MiB |
| HTTP/2 | Static | 1,024 | 23,911 | 1.02s | 1.90s | 1541.9% | 1.4GiB |
| WebSocket | Echo | 512 | 1,405,394 | 363us | 559us | 6851.8% | 348MiB |
| WebSocket | Echo | 4,096 | 1,325,316 | 2.60ms | 3.46ms | 6671.3% | 501MiB |
| WebSocket | Echo | 16,384 | 1,264,822 | 4.54ms | 8.30ms | 6388.6% | 707MiB |
| WebSocket | Echo Pipelined | 512 | 1,992,364 | 4.11ms | 5.72ms | 6739.4% | 346MiB |
| WebSocket | Echo Pipelined | 4,096 | 1,867,526 | 29.82ms | 41.90ms | 6575.2% | 578MiB |
| WebSocket | Echo Pipelined | 16,384 | 1,755,074 | 46.31ms | 102.00ms | 6343.1% | 779MiB |
How the benchmark is run · The machine · Add or fix an entry