Skip to content

Instantly share code, notes, and snippets.

@gigiigig
Last active August 9, 2016 16:55
Show Gist options
  • Save gigiigig/55be36f64b6a9dba7bb39d962caf3220 to your computer and use it in GitHub Desktop.
Save gigiigig/55be36f64b6a9dba7bb39d962caf3220 to your computer and use it in GitHub Desktop.
Akka HTTP vs Finatra
Finatra
No Payload
Running 30s test @ http://localhost:8888/hi
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 20.43ms 30.84ms 376.23ms 86.54%
Req/Sec 3.48k 750.12 14.54k 79.75%
1249354 requests in 30.04s, 86.98MB read
Socket errors: connect 0, read 601, write 0, timeout 0
Requests/sec: 41585.60
Transfer/sec: 2.90MB
Payload / 1000 elements
Running 30s test @ http://localhost:8888/payload
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 166.25ms 47.29ms 573.25ms 80.73%
Req/Sec 186.60 42.25 520.00 76.22%
67006 requests in 30.10s, 8.78GB read
Socket errors: connect 0, read 481, write 0, timeout 0
Requests/sec: 2226.38
Transfer/sec: 298.89MB
Payload / 100 elements
Running 30s test @ http://localhost:8888/payload
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 36.38ms 39.47ms 346.45ms 83.79%
Req/Sec 1.29k 214.85 3.54k 77.39%
463124 requests in 30.09s, 5.98GB read
Socket errors: connect 0, read 216, write 13, timeout 0
Requests/sec: 15393.08
Transfer/sec: 203.55MB
Akka Http
No Payload
Running 30s test @ http://localhost:8080/api/v2/foo
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 13.67ms 46.16ms 1.24s 98.13%
Req/Sec 3.55k 0.97k 14.64k 84.58%
1263712 requests in 30.10s, 215.73MB read
Socket errors: connect 0, read 454, write 0, timeout 0
Requests/sec: 41978.37
Transfer/sec: 7.17MB
Payload / 1000 elements
Running 30s test @ http://localhost:8080/api/v2/payload
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 148.44ms 97.26ms 1.91s 72.91%
Req/Sec 64.98 56.06 565.00 86.19%
20977 requests in 30.10s, 2.73GB read
Socket errors: connect 0, read 688, write 3, timeout 109
Requests/sec: 696.89
Transfer/sec: 92.93MB
Payload / 100 elements
Running 30s test @ http://localhost:8080/api/v2/payload
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 50.13ms 84.86ms 1.99s 96.62%
Req/Sec 570.46 308.41 5.42k 86.89%
199353 requests in 30.10s, 2.57GB read
Socket errors: connect 0, read 688, write 9, timeout 255
Requests/sec: 6622.52
Transfer/sec: 87.26MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment