From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: CDN performance Date: Wed, 12 Dec 2018 23:11:25 -0800 Message-ID: <877egdyk82.fsf@gmail.com> References: <20181203154335.10366-1-ludo@gnu.org> <87tvju6145.fsf@gnu.org> <87ftv7l6gy.fsf@gmail.com> <871s6qzo6m.fsf_-_@gnu.org> <874lbk63se.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXL9n-000237-9d for guix-devel@gnu.org; Thu, 13 Dec 2018 02:11:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXL9i-0003yI-9t for guix-devel@gnu.org; Thu, 13 Dec 2018 02:11:39 -0500 In-Reply-To: <874lbk63se.fsf@gmail.com> (Meiyo Peng's message of "Tue, 11 Dec 2018 13:17:05 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Meiyo Peng Cc: guix-devel@gnu.org, 33600@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Meiyo Peng writes: > After careful thought, I realized the new CDN won't benefit China > residents as planned. Any popular CDN outside China is significantly > throttled by ISP/GFW and the situation is worse every year. A CDN will > be a great improvement for western countries but not for many asia > countries. Could you try running the measure_get shell function I included in the following email? https://lists.gnu.org/archive/html/guix-devel/2018-12/msg00192.html For convenience, here is the definition: =2D-8<---------------cut here---------------start------------->8--- measure_get () { curl -L \ -o /dev/null \ -w "url_effective: %{url_effective}\\n\ http_code: %{http_code}\\n\ num_connects: %{num_connects}\\n\ num_redirects: %{num_redirects}\\n\ remote_ip: %{remote_ip}\\n\ remote_port: %{remote_port}\\n\ size_download: %{size_download} B\\n\ speed_download: %{speed_download} B/s\\n\ time_appconnect: %{time_appconnect} s\\n\ time_connect: %{time_connect} s\\n\ time_namelookup: %{time_namelookup} s\\n\ time_pretransfer: %{time_pretransfer} s\\n\ time_redirect: %{time_redirect} s\\n\ time_starttransfer: %{time_starttransfer} s\\n\ time_total: %{time_total} s\\n" \ "$1" } =2D-8<---------------cut here---------------end--------------->8--- Specifically, I am curious to know what performance you get when you run measure_get https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zd= hivbvfzhsz2s5yac-linux-libre-4.19 from a computer in China. Please be sure to run it two times in a row, to ensure that CloudFront has cached the object. CloudFront has edge locations in Hong Kong, so I am curious to know what performance improvement, if any, you observe. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlwSBh0ACgkQ3UCaFdgi Rp1GYg/8DlO2r7vzsG/EZ2W6roDRqEEyIaAcMLr7C2x1Xeu/U9xRuC3DKbfNR2qr xDKmOW4EzknoClEXusKyNH1IrlxHvttGPGpoW8IxacTU1gqZxMjkg3oEn61FQcuI TyN3QgITIpea37ohf2D7QhLpzItC5yhALFf39oN98Syv5u07YDqRHOYJHGsOxwC+ HsBO+ZDnyIPPxc8qArCj2yUO4+u4ecLradM6ELqnl0jR3mxpAXrsPv+a1D6XTwkl WaxpyyJDbPQcTVLs2X6xsoabZBrE1mDI1CNO65gxLmDvNAg+/mBYvtgCXYS8AxDe NzGC3c+nccsXGlHN5drdevv7AG/yyodjY8y9L3ImcaFfeVe6GrftnMeCvFan4ktf 3YSZHRvsS0vuQibpqfwrCIP6kslWMgPETWEvcBMRdHlC/ucYZ0a+oLgORPbf79OB Y8V2AQKRmFaUa9IgzkvV+Mk8xSt/y/mu6kBpE7iBVpkj4jchnwWoi30FGZH+/uMd eJtfQ2GgeBbCsifs+N5xUCKPtqDDe+l6aUWsgVFJqED4jAOg52XdubvUXgpdkCPG Fjg21jjIaWmiykzDgcgYYvMFwxSHpc0w5BNoEqnqcfcSTbMjV6yPOQC7+ks5+ZZ1 V1l6ETooNv920YSrcnNnMAESkNgPbBZm5cFIte4bzx5mfneOZHA= =h//j -----END PGP SIGNATURE----- --=-=-=--