0% completed
Usage of API gateway
A microservices architecture has many small independent services, and managing the communication between all of them and every client gets complicated fast. A gateway is where that complexity goes.
There are twenty things people use one for. They fall into four groups.
Deciding Where the Request Goes
Request routing. Directing each incoming request to the appropriate backend service
.....
.....
.....
Ricardo Franco
· 3 years ago
If the API Gateway is the router, why do clients need service discovery to access the services?
Ricardo Franco
· 3 years ago
Could you explain API Versioning in more detail? Would it mean the API Gateway routes the request to a different pool of microservices based on the version?
Oui Key
· 2 years ago
Isn't API gateway a basically microservice in and of itself that send requests to all these other services with custom logic?
Ricardo Franco
· 3 years ago
The API gateway can be used to implement a circuit breaker pattern, which can help to prevent a single failed microservice from bringing down the entire system
How a single failed microservice can bring down the entire system? Is it in the case of Service Aggregation?
Shishir
· 2 years ago
Is there some difference between the two?
Shishir
· 2 years ago
The first chapter under "API Gateway" section clearly calls out that an API Gateway and a Load Balancer are different -
"An API gateway and a load balancer are both types of infrastructure that can be used in a computer network to manage incoming requests and enhance the performance of a system. However, they work in different ways and serve different purposes."
However, this chapter lists "Load Balancing" as one of the uses for an API Gateway.
Can you please elaborate on this? Does this mean that an API Gateway is a Load Balancer with routing, rate limiting, business logic, and other capabilities?
shivangkumarjha
· 7 months ago
Suppose the system has both a load balancer to distribute the load to different servers, and an api gateway to route API requests to the suitable backend system. Typically which sits in front for the client - the LB or the API Gateway.
Or having API gateway obviates LB completely ?
Vaishnavi Ainapure
· 6 months ago
Hi,
I have following couple of questions
How does an API Gateway perform load balancing? Why do we need dedicated Load Balancers if API Gateways can balance load? What is difference between Azure Application Gateway or an API Gateway? What are Internal Load Balancers (ILBs) do Azure API Gateway and App Gateway use them internally
Alan Esparza
· 6 months ago
thanks for all this info maybe code samples help understanding the methods