{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • API Design /
avatar image
0
Question by Joshua Soto-Kitcher · Apr 27, 2018 at 07:31 AM · 761 Views load balancingroute rules

Difference Between Load Balancer and Route Rules

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

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

2 Answers

  • Sort: 
avatar image
1
Best Answer

Answer by Anil Sagar @ Google   · Apr 27, 2018 at 08:25 AM

@Joshua Soto-Kitcher ,

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

Learn Apigee Concepts in 4 Minutes HandsOn

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Sunny Sehrawat · May 06, 2018 at 01:05 PM

@Joshua Soto-Kitcher @Anil Sagar

  • <routeRule> tag is to direct the API request to a specific targetEndPoint flow. And its main utility is when we have multiple targetEndPoint Flows for a proxy.

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.

  • Apigee can act like a load balancer for target servers. the cases where the backend service is exposed over different servers then we can load balanced them by configuring named target servers and calling them from targetEndpoint flow using any of the Apigee's load balancing algorithms.

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.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

54 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Best Practice for API Proxy that exposes multiple resource paths and proxies to multiple endpoints 1 Answer

Error while adding additional SOAP Operations under SOAP Passthrough Proxy 1 Answer

How to build a dynamic target end point based on an API proxy request header value ? 1 Answer

How do we call Apigee can use Feign interface? 1 Answer

List of failed Target Servers is not showing in the trace log 0 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges