Created
April 23, 2021 21:32
-
-
Save rummykhan/3a5b0c2346c5ef8af7914162b988ac35 to your computer and use it in GitHub Desktop.
Nginx vs Swoole vs Roadrunner
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
# Nginx | |
~/Documents/Workspace/Youtube-Lab/channel master* | |
❯ wrk -c100 -t4 http://channel.loc | |
Running 10s test @ http://channel.loc | |
4 threads and 100 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 504.47ms 81.54ms 794.45ms 88.92% | |
Req/Sec 48.45 16.21 80.00 63.16% | |
1949 requests in 10.09s, 32.67MB read | |
Requests/sec: 193.21 | |
Transfer/sec: 3.24MB | |
# Swoole | |
~/Documents/Workspace/Youtube-Lab/channel master* | |
❯ wrk -c100 -t4 http://127.0.0.1:8000 | |
Running 10s test @ http://127.0.0.1:8000 | |
4 threads and 100 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 179.41ms 116.90ms 1.04s 84.59% | |
Req/Sec 148.55 38.56 262.00 72.66% | |
5891 requests in 10.05s, 98.83MB read | |
Requests/sec: 585.92 | |
Transfer/sec: 9.83MB | |
# Roadrunner | |
❯ wrk -c100 -t4 http://127.0.0.1:8000 | |
Running 10s test @ http://127.0.0.1:8000 | |
4 threads and 100 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 212.73ms 99.56ms 910.16ms 93.45% | |
Req/Sec 124.25 38.40 210.00 69.01% | |
4834 requests in 10.08s, 81.10MB read | |
Requests/sec: 479.44 | |
Transfer/sec: 8.04MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment