Skip to content

Instantly share code, notes, and snippets.

@haobinliang
Last active June 10, 2018 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haobinliang/992b3f0cf95f64c897b8159a8e3eb504 to your computer and use it in GitHub Desktop.
Save haobinliang/992b3f0cf95f64c897b8159a8e3eb504 to your computer and use it in GitHub Desktop.
图床的选择:腾讯云 COS vs 阿里云 OSS vs vs Google Cloud Storage vs Flickr

我的信息

坐标伦敦

伦敦沃达丰 北京联通 北京电信 深圳电信 成都移动 香港CSL

腾讯云 - 法兰克福 (未开启CDN) / QCloud - Frankfurt (Without CDN)

haobin@binbin:~$ ab -n 10 -c 1 https://haobinlianglondon-1253449529.cosger.myqcloud.com/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking haobinlianglondon-1253449529.cosger.myqcloud.com (be patient).....done


Server Software:        Qnginx/1.3.2
Server Hostname:        haobinlianglondon-1253449529.cosger.myqcloud.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,AES256-GCM-SHA384,2048,256

Document Path:          /37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   13.546 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25668910 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.74 [#/sec] (mean)
Time per request:       1354.623 [ms] (mean)
Time per request:       1354.623 [ms] (mean, across all concurrent requests)
Transfer rate:          1850.50 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      102  127  15.1    133     152
Processing:  1057 1227  99.9   1255    1384
Waiting:       85  101  10.0    101     118
Total:       1164 1354 108.4   1407    1504

Percentage of the requests served within a certain time (ms)
  50%   1407
  66%   1416
  75%   1416
  80%   1422
  90%   1504
  95%   1504
  98%   1504
  99%   1504
 100%   1504 (longest request)

腾讯云 - 法兰克福 (开启CDN) / QCloud - Frankfurt (With CDN)

haobin@binbin:~$ ab -n 10 -c 1 https://haobinlianglondon-1253449529.file.myqcloud.com/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking haobinlianglondon-1253449529.file.myqcloud.com (be patient).....done


Server Software:        NWSs
Server Hostname:        haobinlianglondon-1253449529.file.myqcloud.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,AES256-GCM-SHA384,2048,256

Document Path:          /37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   37.692 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25668213 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.27 [#/sec] (mean)
Time per request:       3769.180 [ms] (mean)
Time per request:       3769.180 [ms] (mean, across all concurrent requests)
Transfer rate:          665.04 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      614  631   8.5    633     641
Processing:  2765 3138 195.5   3134    3504
Waiting:      221  407  74.5    419     527
Total:       3386 3769 201.8   3775    4145

Percentage of the requests served within a certain time (ms)
  50%   3775
  66%   3792
  75%   3871
  80%   3943
  90%   4145
  95%   4145
  98%   4145
  99%   4145
 100%   4145 (longest request)

腾讯云 - 成都 (未开启CDN) / QCloud - Chengdu (Without CDN)

haobin@binbin:~$ ab -n 10 -c 1 https://imglianglondon-1253449529.coscd.myqcloud.com/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking imglianglondon-1253449529.coscd.myqcloud.com (be patient).....done


Server Software:        Qnginx/1.3.2
Server Hostname:        imglianglondon-1253449529.coscd.myqcloud.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,AES256-GCM-SHA384,2048,256

Document Path:          /37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   100.841 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25668910 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.10 [#/sec] (mean)
Time per request:       10084.074 [ms] (mean)
Time per request:       10084.074 [ms] (mean, across all concurrent requests)
Transfer rate:          248.58 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:     1095 1115  12.5   1119    1131
Processing:  8193 8969 646.7   8900   10501
Waiting:      772  823 122.9    788    1171
Total:       9322 10084 647.0  10005   11628

Percentage of the requests served within a certain time (ms)
  50%  10005
  66%  10214
  75%  10313
  80%  10315
  90%  11628
  95%  11628
  98%  11628
  99%  11628
 100%  11628 (longest request)

腾讯云 - 成都 (开启CDN) / QCloud - Chengdu (With CDN)

haobin@binbin:~$ ab -n 10 -c 1 https://imglianglondon-1253449529.file.myqcloud.com/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking imglianglondon-1253449529.file.myqcloud.com (be patient).....done


Server Software:        NWSs
Server Hostname:        imglianglondon-1253449529.file.myqcloud.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,AES256-GCM-SHA384,2048,256

Document Path:          /37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   36.774 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25668150 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.27 [#/sec] (mean)
Time per request:       3677.370 [ms] (mean)
Time per request:       3677.370 [ms] (mean, across all concurrent requests)
Transfer rate:          681.64 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      575  600  30.3    594     676
Processing:  2602 3077 571.6   2945    4534
Waiting:      191  309  99.7    377     410
Total:       3184 3677 598.5   3527    5210

Percentage of the requests served within a certain time (ms)
  50%   3527
  66%   3552
  75%   3649
  80%   4128
  90%   5210
  95%   5210
  98%   5210
  99%   5210
 100%   5210 (longest request)

腾讯云 - 北京 (未开启CDN) / QCloud - Beijing (Without CDN)

haobin@binbin:~$ ab -n 10 -c 1 https://imglianglondonbj-1253449529.cosbj.myqcloud.com/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking imglianglondonbj-1253449529.cosbj.myqcloud.com (be patient).....done


Server Software:        Qnginx/1.3.2
Server Hostname:        imglianglondonbj-1253449529.cosbj.myqcloud.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,AES256-GCM-SHA384,2048,256

Document Path:          /37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   89.808 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25668910 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.11 [#/sec] (mean)
Time per request:       8980.790 [ms] (mean)
Time per request:       8980.790 [ms] (mean, across all concurrent requests)
Transfer rate:          279.12 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:     1091 1117  15.2   1122    1136
Processing:  6938 7864 672.0   7962    8841
Waiting:      760  773  12.4    777     790
Total:       8050 8980 669.0   9085    9944

Percentage of the requests served within a certain time (ms)
  50%   9085
  66%   9119
  75%   9555
  80%   9824
  90%   9944
  95%   9944
  98%   9944
  99%   9944
 100%   9944 (longest request)

腾讯云 - 北京 (开启CDN) / QCloud - Beijing (With CDN)

haobin@binbin:~$ ab -n 10 -c 1 https://imglianglondonbj-1253449529.file.myqcloud.com/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking imglianglondonbj-1253449529.file.myqcloud.com (be patient).....done


Server Software:        NWSs
Server Hostname:        imglianglondonbj-1253449529.file.myqcloud.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,AES256-GCM-SHA384,2048,256

Document Path:          /37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   64.746 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25668150 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.15 [#/sec] (mean)
Time per request:       6474.639 [ms] (mean)
Time per request:       6474.639 [ms] (mean, across all concurrent requests)
Transfer rate:          387.15 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      913  995 162.5    940    1449
Processing:  4182 5480 1134.9   5402    6976
Waiting:      444  583 138.2    602     905
Total:       5106 6474 1136.7   6697    7902

Percentage of the requests served within a certain time (ms)
  50%   6697
  66%   7152
  75%   7669
  80%   7851
  90%   7902
  95%   7902
  98%   7902
  99%   7902
 100%   7902 (longest request)

阿里云 - 香港 / Aliyun - Hong Kong

haobin@binbin:~$ ab -n 10 -c 1 https://haobinlianglondon.oss-cn-hongkong.aliyuncs.com/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking haobinlianglondon.oss-cn-hongkong.aliyuncs.com (be patient).....done


Server Software:        AliyunOSS
Server Hostname:        haobinlianglondon.oss-cn-hongkong.aliyuncs.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128

Document Path:          /37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   184.689 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25668308 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.05 [#/sec] (mean)
Time per request:       18468.914 [ms] (mean)
Time per request:       18468.914 [ms] (mean, across all concurrent requests)
Transfer rate:          135.72 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:     1342 1469 255.2   1399    2186
Processing: 15499 17000 1681.9  16567   21559
Waiting:      332  466  51.6    478     530
Total:      16841 18469 1930.8  18012   23746

Percentage of the requests served within a certain time (ms)
  50%  18012
  66%  18055
  75%  18359
  80%  18888
  90%  23746
  95%  23746
  98%  23746
  99%  23746
 100%  23746 (longest request)

阿里云 - 法兰克福 / Aliyun - Frankfurt

haobin@binbin:~$ ab -n 10 -c 1 https://imglianglondon1.oss-eu-central-1.aliyuncs.com/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking imglianglondon1.oss-eu-central-1.aliyuncs.com (be patient).....done


Server Software:        AliyunOSS
Server Hostname:        imglianglondon1.oss-eu-central-1.aliyuncs.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128

Document Path:          /37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   27.629 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25668293 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.36 [#/sec] (mean)
Time per request:       2762.876 [ms] (mean)
Time per request:       2762.876 [ms] (mean, across all concurrent requests)
Transfer rate:          907.27 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      161  195  42.9    183     311
Processing:  1966 2567 1562.3   2089    7009
Waiting:       38   46  12.8     41      75
Total:       2143 2763 1556.2   2270    7184

Percentage of the requests served within a certain time (ms)
  50%   2270
  66%   2278
  75%   2374
  80%   2471
  90%   7184
  95%   7184
  98%   7184
  99%   7184
 100%   7184 (longest request)

Flickr

haobin@binbin:~$ ab -n 10 -c 1 https://farm5.staticflickr.com/4483/37651364066_42e58f3462_o_d.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking farm5.staticflickr.com (be patient).....done


Server Software:        ATS
Server Hostname:        farm5.staticflickr.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128

Document Path:          /4483/37651364066_42e58f3462_o_d.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   16.481 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25672660 bytes
HTML transferred:       25663690 bytes
Requests per second:    0.61 [#/sec] (mean)
Time per request:       1648.051 [ms] (mean)
Time per request:       1648.051 [ms] (mean, across all concurrent requests)
Transfer rate:          1521.25 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       96  146  81.9    120     370
Processing:   769 1502 1364.4    985    5172
Waiting:      116  142  33.4    130     208
Total:        887 1648 1439.7   1108    5542

Percentage of the requests served within a certain time (ms)
  50%   1108
  66%   1122
  75%   1243
  80%   2452
  90%   5542
  95%   5542
  98%   5542
  99%   5542
 100%   5542 (longest request)

Google Cloud Storage

haobin@binbin:~$ ab -n 10 -c 1 https://storage.googleapis.com/imglianglondon/37651364066_42e58f3462_o.png
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking storage.googleapis.com (be patient).....done


Server Software:        UploadServer
Server Hostname:        storage.googleapis.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128

Document Path:          /imglianglondon/37651364066_42e58f3462_o.png
Document Length:        2566369 bytes

Concurrency Level:      1
Time taken for tests:   5.174 seconds
Complete requests:      10
Failed requests:        0
Total transferred:      25671150 bytes
HTML transferred:       25663690 bytes
Requests per second:    1.93 [#/sec] (mean)
Time per request:       517.423 [ms] (mean)
Time per request:       517.423 [ms] (mean, across all concurrent requests)
Transfer rate:          4845.07 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       57   71  10.3     70      91
Processing:   374  446  62.9    436     558
Waiting:       18   24   4.8     26      33
Total:        440  517  68.3    503     628

Percentage of the requests served within a certain time (ms)
  50%    503
  66%    525
  75%    587
  80%    610
  90%    628
  95%    628
  98%    628
  99%    628
 100%    628 (longest request)
@Makebignew
Copy link

推薦https://cloudinary.com 免費10g存儲20g流量,速度可以跟google媲美

@haobinliang
Copy link
Author

@Makebignew 这两天折腾Hugo的时候也发现了这个,跟forestry.io完美结合!哈哈哈~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment