{"id":56170,"date":"2012-08-02T00:00:00","date_gmt":"2012-08-02T07:00:00","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/nuget\/help-us-test-nuget-cdn"},"modified":"2012-08-02T00:00:00","modified_gmt":"2012-08-02T07:00:00","slug":"help-us-test-nuget-cdn","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/help-us-test-nuget-cdn\/","title":{"rendered":"Help Us Test CDN for NuGet.org"},"content":{"rendered":"<p>Over the past few weeks, we\u2019ve been investigating whether to turn on the <a href=\"http:\/\/www.windowsazure.com\/en-us\/home\/features\/caching\/\">content delivery network (CDN)<\/a> feature of the Azure blob storage container for NuGet packages. In theory, this would make package downloads faster \u2013 especially if you\u2019re located outside of the United States.<\/p>\n<p>We want your help to conduct an experiment to measure the difference in downloading packages with CDN enabled verses disabled. Our initial experiment deployed nuget.exe into different regions and measured the time to download a set of NuGet packages. Unfortunately, in all of the regions we deployed to, we were still sitting on an Internet backbone connection, so even our baseline measurements (with CDN disabled) showed a statistically insignificant difference between a deployment in northern Europe and a deployment in the USA. As such, it would seem that enabling CDN wouldn\u2019t yield any measurable benefit. <\/p>\n<p>We think that the reason for the inconclusive baseline is due to the fact that there\u2019s no <a href=\"http:\/\/en.wikipedia.org\/wiki\/Last_mile\">\u201clast mile\u201d<\/a> involved in the measurements, and this is where the majority of the slowdown happens. While we could try and simulate last mile time, we would rather change the experiment a bit and ask for your help. <\/p>\n<p>We\u2019ve created a custom of NuGet.exe along with a batch file runner that you can download <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/49\/2019\/05\/NuGet-CDN.zip\">here<\/a>. Just unpack the zip file and run NuGet-CDN.bat. This will download the top 25 NuGet packages from both the standard package URL and a CDN URL and then log the time it takes to perform the download operations. You will then be asked to optionally provide your location, which will help us get a better sense of the global impact of using the CDN.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/49\/2019\/05\/use-cdn-test.png\" alt=\"Running the NuGet CDN batch file\" \/><\/p>\n<p>The batch process will wrap the log files along with your location information into a new NuGet package. Please email that package to <a href=\"mailto:nugetgallery@outercurve.org\">nugetgallery@outercurve.org<\/a>. <\/p>\n<p>Thanks in advance for your help!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the past few weeks, we\u2019ve been investigating whether to turn on the content delivery network (CDN) feature of the Azure blob storage container for NuGet packages. In theory, this would make package downloads faster \u2013 especially if you\u2019re located outside of the United States. We want your help to conduct an experiment to measure [&hellip;]<\/p>\n","protected":false},"author":4266,"featured_media":58792,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7874,7931],"tags":[],"class_list":["post-56170","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nuget","category-nuget-org"],"acf":[],"blog_post_summary":"<p>Over the past few weeks, we\u2019ve been investigating whether to turn on the content delivery network (CDN) feature of the Azure blob storage container for NuGet packages. In theory, this would make package downloads faster \u2013 especially if you\u2019re located outside of the United States. We want your help to conduct an experiment to measure [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/56170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/4266"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=56170"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/56170\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=56170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=56170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=56170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}