Configuring Least Connections
To configure the Least Connections algorithm in Azure Application Gateway:
Navigate to the Azure Portal (https://portal.azure.com)
Open the Azure Resource Explorer (https://resources.azure.com)
Locate your Resource Group and Application Gateway
Find the "routingMethod" setting Change the value from "roundrobin" to "leastresponsetime"
This configuration allows the Application Gateway to route incoming requests to the backend server with the least number of active connections, potentially improving overall performance and resource utilization.