HttpArena
Frameworks

phoenix-bandit

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

High-performance Elixir framework using Phoenix and Bandit HTTP server, leveraging Erlang/OTP for concurrent networking and asynchronous database operations.

Achievements

🥈 1 Silver. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥈 SilverTest profileEfficiency · Latency-10K2 of 71

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.146 of 711792
HTTP/218 of 1853
WebSocket13 of 15375

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096486,8487.32ms10.70ms6431.4%478MiB
ConnectionPipelined4,096632,23290.28ms175.10ms6576.3%512MiB
ConnectionShort-lived4,096400,2543.37ms27.30ms6223.4%431MiB
ConcurrencyAsync Delay32,000547,58626.47ms29.40ms5983.8%897MiB
EfficiencyLatency-10K1,0249,983139.2us264.0us210.8%389MiB
EfficiencyLatency-1M1,024502,0164867491.2us10465280.0us6098.8%358MiB
EfficiencyLatency-500K/81,02473,5578516845.5us16850944.0us763.3%318MiB
WorkloadJSON Comp4,09693,06136.51ms336.30ms6287.0%1.8GiB
WorkloadJSON Comp16,38493,56938.15ms346.30ms6078.6%1.7GiB
WorkloadJSON TLS4,096165,4528.65ms68.46ms5026.1%1.3GiB
Workload8Gbit51249,037230.6us382.0us1936.7%510MiB
DatabaseAsync DB1,0249,627106.08ms129.30ms1042.8%534MiB
HTTP/2Baseline256214,310115.86ms200.12ms6448.9%824MiB
HTTP/2Baseline1,024203,145402.37ms802.97ms6417.6%1.6GiB
HTTP/2Static25624,449316.56ms646.84ms1462.2%811MiB
HTTP/2Static1,02423,9111.02s1.90s1541.9%1.4GiB
WebSocketEcho5121,405,394363us559us6851.8%348MiB
WebSocketEcho4,0961,325,3162.60ms3.46ms6671.3%501MiB
WebSocketEcho16,3841,264,8224.54ms8.30ms6388.6%707MiB
WebSocketEcho Pipelined5121,992,3644.11ms5.72ms6739.4%346MiB
WebSocketEcho Pipelined4,0961,867,52629.82ms41.90ms6575.2%578MiB
WebSocketEcho Pipelined16,3841,755,07446.31ms102.00ms6343.1%779MiB

Compared with

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

EntryCompositevs phoenix-bandit
plug-cowboy1339-25%head to head

Compare phoenix-bandit with any Elixir entry · Compare phoenix-bandit with any entry, in any language · Every Elixir entry, ranked

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