Figured I should link to the 2.4.9 annoucement from this old thread (as it
shows up high in google).
In 2.4.9 we did quite some improvements, annoucement here:
http://akka.io/news/2016/08/19/akka-2.4.9-released.html
<http://akka.io/news/2016/08/19/akka-2.4.9-released.html>
Highlights of the performance improvements include:
- Overall Akka HTTP throughput and transfer rate has been improved by
30-40%
- Performance is on-par or better than Spray.
- Matching it both in raw throughput as well as latency distribution
across a spectrum of request rates.
- We measured an overall improvement of ~14% over Spray
- Short lived connections throughput, which remains to be the worst-case
scenario for Akka HTTP thought remains rare in the real world (due to
connection pooling), has been doubled.
- Given our EC2 infrastructure (m4.2xlarge instances) the server
currently reaches a maximum of ~160.000 “ping / pong” requests per second
(measured using 100 concurrent connections).
Happy hakking!
-- Konrad
W dniu środa, 27 maja 2015 12:44:49 UTC+1 użytkownik zergood napisał:
>
> I've done little benchmarks to compare spray and akka-http performance. I
> use default jvm and akka settings. So you can see that there is
> an significant performance difference between it.
>
> code:
> spray https://gist.github.com/zergood/18bae0adc2e774c31233.
> akka-http https://gist.github.com/zergood/53977efd500985a34ea1.
>
> versions:
> spray 1.3.3
> akka-http 1.0-RC3
> scala 2.11.6
> java 1.8
>
> wrk output for spray:
> Running 1m test @
> http://127.0.0.1:8080/dictionaries/hello/suggestions?ngr=hond
> 30 threads and 64 connections
> Thread Stats Avg Stdev Max +/- Stdev
> Latency 2.14ms 9.82ms 78.22ms 98.22%
> Req/Sec 2.55k 609.68 4.22k 78.12%
> 4322357 requests in 1.00m, 614.20MB read
> Requests/sec: 72044.97
> Transfer/sec: 10.24MB
>
> wrk output for akka-http:
> Running 1m test @
> http://127.0.0.1:3535/dictionaries/hello/suggestions?ngr=hond
> 30 threads and 64 connections
> Thread Stats Avg Stdev Max +/- Stdev
> Latency 5.39ms 6.82ms 108.07ms 92.80%
> Req/Sec 454.43 126.73 679.00 77.77%
> 811836 requests in 1.00m, 115.36MB read
> Requests/sec: 13531.62
> Transfer/sec: 1.92MB
>
> Is there any akka-http config options to increase performance to the same
> level as spray?
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.