简体   繁体   English

在 Azure Cloud 上启用不同 webrole 之间的通信

[英]Enabling Communication between different webroles on Azure Cloud

We are trying to build a cloud service on Azure.我们正在尝试在 Azure 上构建云服务。 We have 3 webrole instances running.我们有 3 个 webrole 实例正在运行。 What are the possible ways to proxy the requests that we get on a webrole to some other webrole.有哪些可能的方法可以将我们在 webrole 上获得的请求代理到其他 webrole。

For Example, I have the following 2 web roles running: webrole0, webrole1.例如,我有以下 2 个 web 角色正在运行:webrole0、webrole1。

I get a request on webrole0.我收到关于 webrole0 的请求。 Based on some parameters either webrole0 can serve the request or the request needs to be proxied to webrole1.根据一些参数,webrole0 可以为请求提供服务,或者需要将请求代理到 webrole1。 How do I make this proxying of the request possible?如何使请求的这种代理成为可能?

If you are looking for the path based routing you can go with Azure Application Gateway.如果您正在寻找基于路径的路由,您可以使用 go 和 Azure 应用程序网关。 If you want to route traffic to web roles based on the request parameters, you need to go with third party NVAs like F5 to check if that satisfies your routing needs.如果您想根据请求参数将流量路由到 web 角色,您需要使用 F5 等第三方 NVA 进行 go 以检查是否满足您的路由需求。

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

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