4 ms·
> What is the main benefit to running a gateway? An API gateway is an adapter. You can build a web API out of multiple independent web services, like microserv
by arinlen 4y ago
> What is the main benefit to running a gateway?
An API gateway is an adapter. You can build a web API out of multiple independent web services, like microservices or simply versioned APIs. On top of that you can do anything a proxy does, like load balancing, TLS termination, rate limiting, monitoring, etc. Basically a API gateway is a higher-level abstraction over a proxy which saves some time and effort implementing some basic features.
> Auth should already be handled by the api (...)
That won't make a dent if you are running a single instance of a single service.
Once you start to run multiple instances of multiple services then things start to break down.