Grokking System Design Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Sandeep Verma
API Gateway vs Load Balance

Sandeep Verma

Jul 22, 2024

In some design there is gateway before API gateway . API gateway also has capability to load balance. What is recommended? .

2

0

Comments
Comments
V
victor_rpg05 10 months ago

I think you meant "...load balancer before API gateway" right? I believe the reason is you can have a DNS load balancer before that API gateway so you allow it to scale up.

G
gabbygabbylexy 6 months ago

API gateway can include a load balancer and more such as authentication, rate-limiting, response aggregation, caching, service discovery, content-type negotiation, etc. Load balancer on the other hand deals with traffic distribution across multiple servers based on an a...

U
upadhyayaditya894 3 months ago

dont get confused with api gateway its just a fancier algorithm on how an L7 LB would work.

LB -> API gateway : route requests solely on IP and API gateway in itself is horizontally scaled API -> LB : API gateway now knows which service to call each microservice can it...

On this page

Difference between an API gateway and a load balancer