有没有办法为最少连接配置应用程序网关?

Is there any way configure Application Gateway for Least Connection?

我使用 Azure 应用程序网关。当我查看文档时,我只看到 Application Load Balancer round-robin distribution of incoming traffic, cookie-based session affinity, URL path-based routing。有什么方法可以使用 Least Connection 吗?这在 AWS 上可用,但我在 Azure 上看不到它。

是的,您可以通过 https://resources.azure.com/ 你应该打开那个资源;找到您的 RG 和 APP GW,您将看到设置 routing method -> round robin 可以改成leastresponsetime