I'm a bit confused between the difference between a load balancer and a route rule. Don't they both dictate the load into the target endpoint... or am I missing something.
Cheers!
Josh
Solved! Go to Solution.
Load Balancing concept is used to balance API traffic across various servers, Route Rules are used to route the traffic conditionally to different target end points.
See them in action here,
Load Balancing - Explained in 4 Minutes
Route Rules - Explained in 4 Minutes
Hope it helps.
-------------------------------
Anil Sagar
Load Balancing concept is used to balance API traffic across various servers, Route Rules are used to route the traffic conditionally to different target end points.
See them in action here,
Load Balancing - Explained in 4 Minutes
Route Rules - Explained in 4 Minutes
Hope it helps.
-------------------------------
Anil Sagar
@Joshua Soto-Kitcher @Anil Sagar
Why we need multiple targetEndPoint flow per proxy?
- Having multiple targetEndPoint options in routeRule we can direct the API request to a desired target server address configured in the targetEndPoint
- Another utility is we can modify the API experience per target, like we can have different quota configurations for our target servers, different mediation policies we can attach to modify the response from target servers. So overall we can create different API versions for the clients by having multiple targetEndPoints for the API.
So the purpose of <routeRule> tag is just to direct the API request from proxyEndPoint flow to a specific targetEndPoint flow. And Apigee can act as a load balancer, send API requests to named target servers based on either different environment configurations or Apigee's load balancing algorithms.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |