Load balancing Azure Blob Storage

末鹿安然 提交于 2021-02-19 03:40:20

问题


Is there any way to load balance the Azure Blob Storage by just using Azure Load Balancer and the Blob Storage (without needing a service)?

What I'm trying to achieve is to hit a load-balancer url like:

https://load-balancer.somerandomazureurl.net

Which will route the request to a blob container (with same contents) in either West Europe or Central US data centers depending on the location and the load.


回答1:


You could not do that using Azure Load Balancer since it only could load incoming traffic for Azure VM, VM scale sets or availability sets. Azure blob storage could not be a backend for receiving the incoming traffic from load balancer frontend.

If you want to improve the Azure blob storage response performance, you could enable Azure CDN for the storage account.

Azure CDN offers developers a global solution for delivering high-bandwidth content. It can cache blobs and static content of compute instances at physical nodes in the United States, Europe, Asia, Australia, and South America.

Also, If you no longer want to cache an object in Azure CDN, you could remove content from Azure CDN.

Quickstart: Integrate an Azure storage account with Azure CDN




回答2:


After some time - Azure Front Door is the right answer for this question. It allows load-balancing between the storage accounts so for a SPA (Single Page Application) the right solution is to use Azure Front Door and multiple storage accounts in the back-end which are configured to be static websites.

More details are in this answer: Use Azure Front Door to serve a SPA



来源:https://stackoverflow.com/questions/54291187/load-balancing-azure-blob-storage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!