This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://localhost:3000 --latency | |
Running 1m test @ http://localhost:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 268.57us 49.42us 8.47ms 97.10% | |
Req/Sec 37.42k 1.87k 41.33k 95.76% | |
Latency Distribution | |
50% 265.00us | |
75% 272.00us | |
90% 278.00us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://hostname:3000 --latency | |
Running 1m test @ http://hostname:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 268.13us 84.07us 4.46ms 95.35% | |
Req/Sec 37.74k 3.65k 68.62k 90.92% | |
Latency Distribution | |
50% 248.00us | |
75% 291.00us | |
90% 300.00us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://localhost:3000 --latency | |
Running 1m test @ http://localhost:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 233.37us 17.05us 3.14ms 86.49% | |
Req/Sec 36.66k 536.98 37.25k 87.69% | |
Latency Distribution | |
50% 229.00us | |
75% 232.00us | |
90% 255.00us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://localhost:3000 | |
Running 1m test @ http://localhost:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 3.22ms 217.74us 5.72ms 88.53% | |
Req/Sec 3.12k 167.74 6.22k 89.34% | |
372500 requests in 1.00m, 33.91MB read | |
Requests/sec: 6197.69 | |
Transfer/sec: 577.75KB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://localhost:3000 | |
Running 1m test @ http://localhost:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 1.28ms 133.55us 4.69ms 83.83% | |
Req/Sec 7.85k 608.01 15.71k 75.94% | |
938137 requests in 1.00m, 84.64MB read | |
Requests/sec: 15610.13 | |
Transfer/sec: 1.41MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://localhost:3000 | |
Running 1m test @ http://localhost:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 1.02ms 139.99us 3.26ms 81.99% | |
Req/Sec 9.83k 1.07k 16.53k 73.69% | |
1175221 requests in 1.00m, 105.41MB read | |
Requests/sec: 19554.70 | |
Transfer/sec: 1.75MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://localhost:3000 | |
Running 1m test @ http://localhost:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 0.88ms 109.07us 1.68ms 85.69% | |
Req/Sec 11.39k 1.04k 12.69k 78.12% | |
1362106 requests in 1.00m, 122.35MB read | |
Requests/sec: 22664.10 | |
Transfer/sec: 2.04MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://localhost:3000 | |
Running 1m test @ http://localhost:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 83.19us 22.17us 3.80ms 99.55% | |
Req/Sec 120.36k 2.17k 127.91k 88.83% | |
14375182 requests in 1.00m, 699.17MB read | |
Requests/sec: 239575.51 | |
Transfer/sec: 11.65MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ~/wrk -t 2 -c 20 -d 60 http://localhost:3000 | |
Running 1m test @ http://localhost:3000 | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 5.14ms 124.15us 8.14ms 99.09% | |
Req/Sec 1.95k 30.44 2.01k 69.50% | |
233252 requests in 1.00m, 45.38MB read | |
Requests/sec: 3886.56 | |
Transfer/sec: 774.28KB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(): | |
sock = http.Http('127.0.0.1', 3000) | |
rconn = redis.Redis(port=3001) | |
for req in loop.events(): | |
n = rconn.incr("hello-world-counter") | |
req.reply( | |
[200, u"OK"], | |
{u"Content-Type": b"text/html"}, | |
"Hello page opened {} times".format(n).encode('utf-8')) |