Some benchmarks. Clojure JVM (Pedestal, Single Query)
http.codes.200: ................................................................ 147000
http.request_rate: ............................................................. 185/sec
http.requests: ................................................................. 147000
http.response_time:
min: ......................................................................... 7
max: ......................................................................... 997
median: ...................................................................... 13.9
p95: ......................................................................... 40
p99: ......................................................................... 424.2
http.responses: ................................................................ 147000
vusers.completed: .............................................................. 147000
vusers.created: ................................................................ 147000
vusers.created_by_name.Search and buy: ......................................... 147000
vusers.failed: ................................................................. 0
vusers.session_length:
min: ......................................................................... 9.1
max: ......................................................................... 998.9
median: ...................................................................... 15.3
p95: ......................................................................... 42.5
p99: ......................................................................... 424.2
Clojure CLR NET 7, fully async- important note. The code I wrote is not “hacky” in any sense. A little bit of clojure-clr wrapping the .NET 7 api’s.
http.codes.200: ................................................................ 147000
http.request_rate: ............................................................. 185/sec
http.requests: ................................................................. 147000
http.response_time:
min: ......................................................................... 3
max: ......................................................................... 75
median: ...................................................................... 5
p95: ......................................................................... 16.9
p99: ......................................................................... 24.8
http.responses: ................................................................ 147000
vusers.completed: .............................................................. 147000
vusers.created: ................................................................ 147000
vusers.created_by_name.Search and buy: ......................................... 147000
vusers.failed: ................................................................. 0
vusers.session_length:
min: ......................................................................... 4.5
max: ......................................................................... 211.4
median: ...................................................................... 6.5
p95: ......................................................................... 18.7
p99: ......................................................................... 26.8