Hi,
Disclaimer: I understand that ab
is not that right utility to measure requests performance (https://groups.google.com/forum/#!topic/akka-user/yt3QXBXq6zg).
We’re currently investigating the right platform to build web servers and I’m super curious to understand why akka http is slow compared to other stacks like Go or NodeJS.
We’re using simple ab
benchmark for 10k requests:
ab -T application/json -p post.json -c 1 -n 10000 <TARGET_SERVICE>
with simple POST route that returns complete("OK")
With these benchmarks, Akka Http
shows 30% performance with average requests near ~700req/sec
compared to Go/NodeJS
~2k req/sec
It’s obvious that with ab's
-k` flag Akka Http speed-ups quickly simultaneously with other platforms.
My question is here: is it possible to make some tuning/optimization for the current benchmark to have more requests/sec?