HttpArena
Comparisons

Clojure web framework comparison: any two, head to head

ring-http-exchange is quicker than aleph on 12 of the 22 profiles they both run, and behind on 10. On the HTTP/1.1 composite they score 468 and 400.

Pick any two of the 5 Clojure 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. What each profile measures.

ProfileConnsring-http-exchange req/secaleph req/secDeltaring-http-exchange p99aleph p99
Baseline5121,209,9221,289,242-6%1.05ms6.20ms
Baseline4,0961,176,7341,301,437-10%13.00ms10.70ms
Short-lived512838,837504,957+66%5.42ms9.06ms
Short-lived4,096833,565499,758+67%51.40ms21.90ms
JSON4,096436,681555,616-21%47.90ms46.90ms
JSON Comp51218,832224,883-92%42.10ms31.70ms
JSON Comp4,096139,354235,423-41%56.90ms109.40ms
JSON Comp16,384224,270233,388-4%924.60ms177.10ms
JSON TLS4,096445,438611,167-27%81.81ms520.06ms
Upload322,671680+293%34.10ms171.70ms
Upload2562,894575+403%324.30ms2.25s
Static1,024224,73323,087+873%204.21ms360.02ms
Static4,096238,25922,685+950%1.68s783.55ms
Static6,800220,92922,288+891%2.00s1.46s
Static TLS1,024190,47792,285+106%219.74ms269.99ms
Static TLS4,096192,01484,868+126%1.97s481.36ms
Static TLS6,800184,64981,174+127%1.10s509.81ms
Async DB1,024111,475112,158-1%14.00ms14.10ms
CRUD4,096216,626207,049+5%37.10ms38.70ms
Fortunes1,02480,06441,497+93%20.70ms42.70ms
API-425621,27824,142-12%34.10ms43.50ms
API-161,02476,34479,305-4%45.90ms60.60ms

Common comparisons

ring-http-exchange vs aleph · ring-http-exchange vs ring · ring-http-exchange vs ring-jetty9-adapter · aleph vs ring · aleph vs ring-jetty9-adapter · ring vs ring-jetty9-adapter

Questions

Is ring-http-exchange faster than aleph?

ring-http-exchange is quicker than aleph on 12 of the 22 profiles they both run, and behind on 10. On the HTTP/1.1 composite they score 468 and 400. Both run on the same machine, in the same round, against the same profiles.

Is ring-http-exchange faster than ring?

ring-http-exchange is quicker than ring on 14 of the 15 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 468 and 192. Both run on the same machine, in the same round, against the same profiles.

Is ring-http-exchange faster than ring-jetty9-adapter?

ring-http-exchange is quicker than ring-jetty9-adapter on 13 of the 14 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 468 and 179. Both run on the same machine, in the same round, against the same profiles.

Is aleph faster than ring?

aleph is quicker than ring on 8 of the 15 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 400 and 192. Both run on the same machine, in the same round, against the same profiles.

Which Clojure framework is fastest overall?

ring-http-exchange holds the highest HTTP/1.1 composite of the Clojure entries, at 468. 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 Clojure entry

Results updated · Clojure composite ranking · Other languages · Open the leaderboard