azure - 为什么应该使用 Service Fabric 反向代理而不是 Azure 应用程序网关与 SF 集群通信?

标签 azure reverse-proxy azure-service-fabric azure-application-gateway

我确信这是一个很长的问题并且需要权衡。此文档 area :

不足以让我自信地回答上述问题。

所以,他们说: “Azure 应用程序网关 (AG) 尝试再次解析服务地址,并在无法访问服务时重试请求”。

我知道 Service Fabric 反向代理 (RP) 如何通过封装解析循环来实现此目的。 AG也有这个能力吗?从各方面来看,AG 也是一个反向代理。

因此,对于进入 SF 集群的外部流量来说,至关重要的是,为什么我要使用一个而不是另一个(我知道 RP 也允许集群内通信,这是一个很好的选择)。

最佳答案

对于进入集群的外部流量,您将获得开箱即用的 Azure 负载均衡器/反向代理组合。但是否足够则是另一个问题。我们做出了同样的决定,最终使用了应用程序网关。

this 中概述了 Azure 负载均衡器和应用程序网关之间的差异。文档。

一些要点:

  • Azure Load Balancer works at the transport layer (Layer 4 in the OSI network reference stack). It provides network-level distribution of traffic across instances of an application running in the same Azure data center.
  • Application Gateway works at the application layer (Layer 7 in the OSI network reference stack). It acts as a reverse-proxy service, terminating the client connection and forwarding requests to back-end endpoints.

因此,应用程序网关还支持 SSL termination , SSL end to endURL-based routing这使其成为具有外部客户端的 Service Fabric 应用程序的良好候选者。

关于azure - 为什么应该使用 Service Fabric 反向代理而不是 Azure 应用程序网关与 SF 集群通信?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45253011/

相关文章:

azure - 为 Webhooks 注入(inject) Azure 表存储连接字符串

sql - Angularjs 写入 Azure SQL 表

ssl - 通过单域使用 flynn 应用程序

Nginx 反向代理,只允许从主机名而不是 ip 连接

multi-tenant - Service Fabric Multi-Tenancy

.net - 为 Service Fabric 配置 Azure 部署

azure - 使用 Azure Automation DSC 更新应用程序

azure - 在 Azure DevOps 上,用户如何访问组织的每个项目?

nginx - 限制直接访问端口,但允许在 Nginx 中进行端口转发

azure-service-fabric - Visual Studio 中的诊断事件查看器 - 如何配置