本文介绍了负载均衡Azure Blob存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以通过仅使用 Azure Load Balancer Blob Storage 来负载均衡 Azure Blob存储(不需要服务))?

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

根据位置和负载,哪个请求会将请求路由到西欧或美国中部数据中心的blob容器(内容相同).

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.

推荐答案

一段时间后-Azure前门是此问题的正确答案.它允许在存储帐户之间进行负载平衡,因此对于SPA(单页应用程序),正确的解决方案是使用Azure前门和后端的多个存储帐户,这些帐户被配置为静态网站.

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.

更多详细信息,请参见此答案:使用Azure前门进行服务SPA

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

这篇关于负载均衡Azure Blob存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 11:21