HttpArena

Clojure web framework comparison: any two, head to head

ring-http-exchange is ahead of reitit on 8 of the 9 tests they both run, and behind on 1. On the HTTP/1.1 composite reitit scores 1283 and ring-http-exchange 2410.

Pick any two of the 11 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. 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.

ProfileConnsreititring-http-exchangeDeltareitit p99ring-http-exchange p99
Requests per second
Baseline4,096606,2641,215,341-50%8.46ms13.70ms
Short-lived4,096400,618845,208-53%15.50ms50.40ms
Async Delay32,0004,0791,232,919-100%5.00s55.00ms
JSON Comp4,09638,570140,401-73%322.90ms56.90ms
JSON Comp16,38438,224236,978-84%1.10s274.90ms
JSON TLS4,09670,300477,327-85%174.09ms186.03ms
Fixed-rate profiles: score out of 100
Latency-10K1,02453.455.0-3%147us125us
Latency-1M1,0248.637.0-77%9.17s4.79ms
8Gbit51253.447.1+13%297us804us

Common comparisons

reitit vs ring-http-exchange · reitit vs Enso · reitit vs ring-jetty9-adapter · ring-http-exchange vs Enso · ring-http-exchange vs ring-jetty9-adapter · Enso vs ring-jetty9-adapter

Questions

Is reitit faster than ring-http-exchange?

ring-http-exchange is ahead of reitit on 8 of the 9 tests they both run, and behind on 1. On the HTTP/1.1 composite reitit scores 1283 and ring-http-exchange 2410. Both run on the same machine, in the same round, against the same profiles.

Is reitit faster than Enso?

Enso is ahead of reitit on 9 of the 9 tests they both run. Their composite scores are not on one scale: reitit is ranked among web frameworks and Enso among HTTP engines, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.

Is reitit faster than ring-jetty9-adapter?

ring-jetty9-adapter is ahead of reitit on 7 of the 9 tests they both run, and behind on 2. Their composite scores are not on one scale: reitit is ranked among web frameworks and ring-jetty9-adapter among HTTP engines, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.

Is ring-http-exchange faster than Enso?

Enso is ahead of ring-http-exchange on 8 of the 10 tests they both run, and behind on 2. Their composite scores are not on one scale: ring-http-exchange is ranked among web frameworks and Enso among HTTP engines, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.

Which Clojure framework is fastest overall?

Among the Clojure web frameworks, ring-http-exchange holds the highest HTTP/1.1 composite, at 2410; among the Clojure HTTP engines, Enso holds the highest HTTP/1.1 composite, at 2766. Each league is measured against its own leader, and the leagues do not all count the same profiles, so those numbers are not on one scale and the highest of them is not the fastest entry on the page: to set an entry of one league against an entry of another, pick the two in the table above. 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 · Compare across languages · Other languages · Open the leaderboard