A fascinating discovery!
http:
STATE is slower than another link mechanism!
Used file: Length: 3716075 (3.5 M) [video / mp4]
wget http://myfolder.s3.amazonaws.com/mytestfile.mp4
7.0s
wget http://s3.amazonaws.com/myfolder/mytestfile.mp4
2.2s
wget http://myfolder.s3.amazonaws.com/mytestfile.mp4
9.7s
wget http://s3.amazonaws.com/myfolder/mytestfile.mp4
2.2s
wget http://s3.amazonaws.com/myfolder/mytestfile.mp4
2.1s
wget http://myfolder.s3.amazonaws.com/mytestfile.mp4
9.9s
wget http://myfolder.s3.amazonaws.com/mytestfile.mp4
9.2s
Average time spent on the http: // myfolder mechanism:
8.95 seconds
Average time spent on / myfolder / mechanism:
2.166666667 seconds
those. the first is at least four times larger than slower!
source
share