HttpArena

Elixir web framework comparison: any two, head to head

phoenix-bandit is ahead of plug-cowboy on 8 of the 10 tests they both run, and behind on 2. On the HTTP/1.1 composite phoenix-bandit scores 1260 and plug-cowboy 873.

Pick any two of the 2 Elixir entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. The fixed-rate profiles offer every entry the same request rate, so they are compared on their score out of 100 instead, which is CPU cost and latency at that rate. What each profile measures.

ProfileConnsphoenix-banditplug-cowboyDeltaphoenix-bandit p99plug-cowboy p99
Requests per second
Baseline4,096486,848210,073+132%10.70ms25.70ms
Pipelined4,096632,232470,931+34%175.10ms395.00ms
Short-lived4,096400,254192,487+108%27.30ms29.10ms
Async Delay32,000547,586187,641+192%29.40ms167.90ms
JSON Comp4,09693,061100,877-8%336.30ms269.00ms
JSON Comp16,38493,569103,450-10%346.30ms255.80ms
JSON TLS4,096165,452153,591+8%68.46ms57.92ms
Fixed-rate profiles: score out of 100
Latency-10K1,02442.038.8+8%264us319us
Latency-1M1,0243.91.0+290%10.47s15.15s
8Gbit51237.332.4+15%382us529us

Common comparisons

phoenix-bandit vs plug-cowboy

Questions

Is phoenix-bandit faster than plug-cowboy?

phoenix-bandit is ahead of plug-cowboy on 8 of the 10 tests they both run, and behind on 2. On the HTTP/1.1 composite phoenix-bandit scores 1260 and plug-cowboy 873. Both run on the same machine, in the same round, against the same profiles.

Which Elixir framework is fastest overall?

phoenix-bandit holds the highest HTTP/1.1 composite of the Elixir web frameworks, at 1260. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.

Every Elixir entry

Results updated · Elixir composite ranking · Compare across languages · Other languages · Open the leaderboard