We have used Apigee platform load balancing capabilities for some of our enterprise applications. We have also implemented health monitors along load balancing to switch traffic in case of any node failure.But these applications were low volume. Now we want to use the same in high volume applications where the expected traffic is about 10 Million requests per week. I want to check whether the load balancing at Apigee layer is feasible for such high volume applications. Below is the snippet we have used :
<HTTPTargetConnection> <LoadBalancer> <Algorithm>LeastConnections</Algorithm> <Server name="target1"/> <Server name="target2"/> <MaxFailures>1</MaxFailures> </LoadBalancer> <Path>/v1</Path> <HealthMonitor> <IsEnabled>true</IsEnabled> <IntervalInSec>5</IntervalInSec> <HTTPMonitor> <Request> <ConnectTimeoutInSec>10</ConnectTimeoutInSec> <SocketReadTimeoutInSec>30</SocketReadTimeoutInSec> <Port>80</Port> <Verb>GET</Verb> <Path>/health</Path> </Request> <SuccessResponse> <ResponseCode>200</ResponseCode> </SuccessResponse> </HTTPMonitor> </HealthMonitor> </HTTPTargetConnection>