简体   繁体   English

从Azure存储下载速度慢

[英]Slow download speed from Azure Storage

While testing our storage virtualization solution for a client we found interesting situation: 在为客户测试我们的存储虚拟化解决方案时,我们发现了一种有趣的情况:

  1. When object is downloaded directly from Azure Blob Storage to outside of Azure - the speed (tested by wget) is around 0.2 to 0.5 MB/s 将对象直接从Azure Blob存储下载到Azure外部时-速度(通过wget测试)大约为0.2到0.5 MB / s
  2. When the same object is downloaded to a VM in Azure - the speed is around 60 MB/s 将同一对象下载到Azure中的VM时-速度约为60 MB / s

It may seem like a network issue, but.... 似乎是网络问题,但是...

  1. When the same object is downloaded via our proxy that also runs in the same Azure region and actually downloads the same object from Azure Blob Storage without any caching (and converts to S3 which is irrelevant here) - the speed is 30 MB/s and is basically limited by client's network. 当通过同样在同一Azure区域中运行的代理下载同一对象并且实际上从Azure Blob存储下载同一对象而没有任何缓存(并转换为此处无关的S3)时,速度为30 MB / s,基本上受客户网络的限制。

I tried different regions and the results are similar. 我尝试了不同的区域,结果相似。

Is Azure somehow throttles traffic coming from Blob storage to outside of Azure? Azure是否以某种方式限制了从Blob存储到Azure外部的流量?

Your proxies/VMs or whatever runs in the same datacenter, network requests does not leave the local network and the speed then depends on the infrastructure. 您的代理/ VM或在同一数据中心中运行的任何代理,网络请求不会离开本地网络,因此速度取决于基础架构。 (routers, firewalls, cables, etc ...). (路由器,防火墙,电缆等)。 I'm sure they won't limit speed between their own infrastructure so services hosted on the same network works at full speed. 我确定他们不会限制自己的基础架构之间的速度,因此在同一网络上托管的服务可以全速运行。

When you download from outside the datacenter, it depends on the outside architecture. 从数据中心外部下载时,它取决于外部体系结构。 And then your speed depends on more factors, including your internet downloading speed. 然后,您的速度取决于更多因素,包括Internet下载速度。 Maybe they also limit uploading speed on their side but 0.5 MB would be very low. 也许他们也限制了自己的上传速度,但0.5 MB会非常低。

EDIT: even between different region, you will benefit of 2 VMs connected through optic backbones. 编辑:即使在不同区域之间,您也会受益于通过光纤骨干网连接的2个VM。 That's normal to have a high speed. 高速是正常的。 They can also consider the traffic is "inside" Azure even if it's not the same datacenter and so not limit downloading speed. 他们还可以认为流量是“内部” Azure,即使它不是同一数据中心,因此也不会限制下载速度。

Did you tried to download from a fast internet connection outside of the datacenter ? 您是否尝试过从数据中心外部的快速Internet连接下载? For exemple setting up a VM on digitalocean and trying a wget from this machine ? 例如在digitalocean上设置VM并尝试从这台机器上获取wget?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM