-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance Drop #6
Comments
看起來 cloudflare 被導到 LA 去了所以 latency 很大? 139.162.16.227:
vote.ly.g0v.tw:
http://vote.ly.g0v.tw/cdn-cgi/trace:
|
cloudflare 那邊應該預設要改成直接 CNAME 或是 A 到原 IP ,而不是用 Proxy 的方法 目前我只有開發到從 cloudflare 把設定 dump 出來到 github 這個階段 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
domain vs ip 處理量差一倍,有可以調整的地方嗎?這台主機在新加坡
$
wrk -t12 -c100 -d 30 http://139.162.16.227
Running 30s test @ http://139.162.16.227
12 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 298.53ms 349.54ms 2.00s 85.48%
Req/Sec 21.44 16.72 90.00 73.47%
6125 requests in 30.09s, 119.27MB read
Socket errors: connect 0, read 63, write 0, timeout 227
Requests/sec: 203.55
Transfer/sec: 3.96MB
$
wrk -t12 -c100 -d 30 http://vote.ly.g0v.tw/
Running 30s test @ http://vote.ly.g0v.tw/
12 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 818.53ms 308.90ms 2.00s 79.08%
Req/Sec 10.39 7.23 50.00 66.58%
2822 requests in 30.08s, 55.87MB read
Socket errors: connect 0, read 0, write 0, timeout 140
Requests/sec: 93.83
Transfer/sec: 1.86MB
The text was updated successfully, but these errors were encountered: