How to diagnose CDN breakdown

One, breakdown description

CDN is used to do a file to download a service in the project, often netizen feedback download makes mistake recently

Because be the service that tripartite provides, and node is numerous, diagnose so rise to be bothered a bit.

2, solution

1, 17CE

In 17CE this website inputs the URL that wants inquiry

How to diagnose CDN breakdown

How to diagnose CDN breakdown

Can see countrywide node visits a circumstance quickly, all node be clear at a glance that have a problem [basically be to visit overtime and visit to cannot be amounted to]

2, Awk Ip

Through offerred service is being measured in A, we can take IP list, of course this list is impossible hundred complete

Had tool website, the god of and so on of again tie-in AWK implement, can trim IP list very easily,

Save it into a file that the name is Ip.txt, every an IP, use later. Next we want to download on all node only same a file,

Shell>Cat Ip.txt | Xargs -n 1 -P 0 -I {}

Wget -q -e Http_proxy={} -O {} "http://url/to/file" &

See a file come loose finally the list is uniform with respect to success:

Shell>Md5sum *

未经允许不得转载:News » How to diagnose CDN breakdown